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

Unified Diff: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc

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/scheduler/test/fake_web_task_runner.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
index d4509f8c7f82d3d6712b6770b00bca8564f2cbb7..663af1adc7b75faec2f73af3b878989696161a55 100644
--- a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
+++ b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
@@ -82,13 +82,6 @@ void FakeWebTaskRunner::SetTime(double new_time) {
data_->time_ = new_time;
}
-void FakeWebTaskRunner::PostDelayedTask(const WebTraceLocation&,
- base::OnceClosure closure,
- double delay_ms) {
- data_->PostTask(std::move(closure),
- base::TimeDelta::FromMillisecondsD(delay_ms));
-}
-
bool FakeWebTaskRunner::RunsTasksInCurrentSequence() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698