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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2929853003: Fix use of history timers in background threads. (Closed)
Patch Set: Make explicit when async_counters is needed. 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
« no previous file with comments | « src/wasm/wasm-objects.cc ('k') | test/common/wasm/wasm-module-runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/wasm/wasm-objects.cc ('k') | test/common/wasm/wasm-module-runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698