Index: src/counters.cc |
diff --git a/src/counters.cc b/src/counters.cc |
index db8a1237e958a4ca68fc08f6862d6c8bf3c9cb54..e152c752f7adbd0acf9cc64c9d00d2709fef0918 100644 |
--- a/src/counters.cc |
+++ b/src/counters.cc |
@@ -92,9 +92,8 @@ void HistogramTimer::Stop() { |
histogram_.AddSample(milliseconds); |
} |
if (FLAG_log_timer_events) { |
- stop_time_ = OS::Ticks(); |
- Isolate::Current()->logger()->TimerEvent( |
- histogram_.name_, start_time_, stop_time_); |
+ LOG(Isolate::Current(), |
+ TimerEvent(histogram_.name_, start_time_, OS::Ticks())); |
} |
} |