Index: src/counters.cc |
diff --git a/src/counters.cc b/src/counters.cc |
index a8dcc0bdcb882c3bbb0e1634dba3a5577d1cf468..972bd6862c0f5a5524dfd9f57021e9eb4b61c1a8 100644 |
--- a/src/counters.cc |
+++ b/src/counters.cc |
@@ -7,6 +7,7 @@ |
#include "src/base/platform/platform.h" |
#include "src/counters.h" |
#include "src/isolate.h" |
+#include "src/log-inl.h" |
namespace v8 { |
namespace internal { |
@@ -39,7 +40,7 @@ void HistogramTimer::Start() { |
if (Enabled()) { |
timer_.Start(); |
} |
- isolate()->event_logger()(name(), Logger::START); |
+ Logger::CallEventLogger(isolate(), name(), Logger::START, true); |
} |
@@ -50,7 +51,7 @@ void HistogramTimer::Stop() { |
AddSample(static_cast<int>(timer_.Elapsed().InMilliseconds())); |
timer_.Stop(); |
} |
- isolate()->event_logger()(name(), Logger::END); |
+ Logger::CallEventLogger(isolate(), name(), Logger::END, true); |
} |