Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 8ecf775ae03aab1f1419ba8187d27c904333cbd4..745e2dde1b4b837ea4cf467e2ac92eae7497ec9e 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -23969,8 +23969,8 @@ TEST(EventLogging) { |
v8::Isolate* isolate = CcTest::isolate(); |
isolate->SetEventLogger(StoringEventLoggerCallback); |
v8::internal::HistogramTimer histogramTimer( |
- "V8.Test", 0, 10000, v8::internal::HistogramTimer::MILLISECOND, 50, |
- reinterpret_cast<v8::internal::Isolate*>(isolate)->counters()); |
+ "V8.Test", 0, 10000, v8::internal::HistogramTimerResolution::MILLISECOND, |
+ 50, reinterpret_cast<v8::internal::Isolate*>(isolate)->counters()); |
histogramTimer.Start(); |
CHECK_EQ(0, strcmp("V8.Test", last_event_message)); |
CHECK_EQ(0, last_event_status); |