Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 3dcd72672e4f95656aae38f6a7429125b0c72afd..21e046ae43150440ee8d95e8a2db5d4e0a0ff382 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -23935,7 +23935,7 @@ TEST(EventLogging) { |
isolate->SetEventLogger(StoringEventLoggerCallback); |
v8::internal::HistogramTimer histogramTimer( |
"V8.Test", 0, 10000, v8::internal::HistogramTimer::MILLISECOND, 50, |
- reinterpret_cast<v8::internal::Isolate*>(isolate)); |
+ reinterpret_cast<v8::internal::Isolate*>(isolate)->counters()); |
histogramTimer.Start(); |
CHECK_EQ(0, strcmp("V8.Test", last_event_message)); |
CHECK_EQ(0, last_event_status); |