Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index ed9dcf3756963352d92375883822f6f4b067fa5b..f297226f587eb4b643af55a46d713a6753e76bbd 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -23981,8 +23981,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); |