OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96add97
)
Fixed wrong field usage in Instrumentation::RemoveListener
author
Daniel Mihalyi
<daniel.mihalyi@mattakis.com>
Thu, 21 Aug 2014 13:57:25 +0000
(15:57 +0200)
committer
Sebastien Hertz
<shertz@google.com>
Fri, 22 Aug 2014 05:34:30 +0000
(07:34 +0200)
Signed-off-by: Daniel Mihalyi <daniel.mihalyi@mattakis.com>
Bug:
16814665
(cherry picked from commit
6644521cfaff718a55e3602efb3b54bf19a0cd1a
)
Change-Id: Ie68c70ba6ee2e0bd918717c8659c057f98e66ff7
runtime/instrumentation.cc
patch
|
blob
|
history
diff --git
a/runtime/instrumentation.cc
b/runtime/instrumentation.cc
index
47d35f3
..
0f45b9e
100644
(file)
--- a/
runtime/instrumentation.cc
+++ b/
runtime/instrumentation.cc
@@
-495,7
+495,7
@@
void Instrumentation::RemoveListener(InstrumentationListener* listener, uint32_t
}
}
if ((events & kFieldRead) != 0) {
- if (have_
dex_pc
_listeners_) {
+ if (have_
field_read
_listeners_) {
std::list<InstrumentationListener*>* modified =
new std::list<InstrumentationListener*>(*field_read_listeners_.get());
modified->remove(listener);