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

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

Issue 2568063003: Remove WebTaskRunner::Task (Closed)
Patch Set: . Created 4 years 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 0d3866696c4a8a163e1566a037b3248cad5a4eb3..304d1adef2177f013f6b7d3f8d5d6223beb3d7b8 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
@@ -68,17 +68,6 @@ void FakeWebTaskRunner::setTime(double new_time) {
data_->time_ = new_time;
}
-void FakeWebTaskRunner::postTask(const WebTraceLocation&, Task*) {
- NOTREACHED();
-}
-
-void FakeWebTaskRunner::postDelayedTask(const WebTraceLocation&,
- Task* task,
- double) {
- data_->task_queue_.push_back(
- base::Bind(&WebTaskRunner::Task::run, base::Owned(task)));
-}
-
void FakeWebTaskRunner::postDelayedTask(const WebTraceLocation&,
const base::Closure& closure,
double) {

Powered by Google App Engine
This is Rietveld 408576698