summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/instrumentation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/instrumentation.cc b/runtime/instrumentation.cc
index 47d35f3506..0f45b9e512 100644
--- 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);