Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: test/cctest/test-api.cc

Issue 2929853003: Fix use of history timers in background threads. (Closed)
Patch Set: Merge with master Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 9c87e63df877d38b18bb604ee13f902443bbe6cc..cff764362317f9f714f602d80868146800eb23d6 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);

Powered by Google App Engine
This is Rietveld 408576698