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

Unified Diff: third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp

Issue 2876513002: Use WTF::TimeDelta to specify delays on WebTaskRunner (Closed)
Patch Set: mac fix Created 3 years, 7 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:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp
diff --git a/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp b/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp
index 4090ee54796a4816e6479c67da33e97fb581063d..6f21f47d00c7ee21e65cdd239a98390e56d37b46 100644
--- a/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp
+++ b/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp
@@ -62,10 +62,10 @@ class FIFOClient {
RunTask();
if (elapsed_ms_ < duration_ms_) {
client_thread_->GetWebTaskRunner()->PostDelayedTask(
- BLINK_FROM_HERE,
- CrossThreadBind(&FIFOClient::RunTaskOnOwnThread,
- CrossThreadUnretained(this)),
- interval_with_jitter);
+ BLINK_FROM_HERE,
+ CrossThreadBind(&FIFOClient::RunTaskOnOwnThread,
+ CrossThreadUnretained(this)),
+ TimeDelta::FromMillisecondsD(interval_with_jitter));
} else {
Stop(counter_);
done_event_->Signal();

Powered by Google App Engine
This is Rietveld 408576698