Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 540a8dc28dbd03ffaf6f0796c71f4f40858fc867..c39c2f8f9e319b4016620c6350389c5b5430a855 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -23649,7 +23649,7 @@ TEST(EventLogging) { |
v8::Isolate* isolate = CcTest::isolate(); |
isolate->SetEventLogger(StoringEventLoggerCallback); |
v8::internal::HistogramTimer histogramTimer( |
- "V8.Test", 0, 10000, 50, |
+ "V8.Test", 0, 10000, v8::internal::HistogramTimer::MILLISECOND, 50, |
reinterpret_cast<v8::internal::Isolate*>(isolate)); |
histogramTimer.Start(); |
CHECK_EQ("V8.Test", last_event_message); |