Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4fbbc80708b1ee723c68843922faec65a6eaa22c..fe56c2b8904d590a2861f2d991625a574bd82373 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6711,7 +6711,7 @@ void Isolate::GetStackSample(const RegisterState& state, void** frames, |
void Isolate::SetEventLogger(LogEventCallback that) { |
// Do not overwrite the event logger if we want to log explicitly. |
- if (i::FLAG_log_timer_events) return; |
+ if (i::FLAG_log_internal_timer_events) return; |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
isolate->set_event_logger(that); |
} |