Index: third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
index 68adfdf86eadba44b176cc6fdbaef1c0092c22dd..f5cf582b10afa5caa7f0638066d5ed9f6dee2da8 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
@@ -72,7 +72,7 @@ |
explicit MockWebTaskRunner(Deque<OwnPtr<WebTaskRunner::Task>>* tasks) : m_tasks(tasks) { } |
~MockWebTaskRunner() override { } |
- void postTask(const WebTraceLocation&, Task* task) override |
+ virtual void postTask(const WebTraceLocation&, Task* task) |
{ |
m_tasks->append(adoptPtr(task)); |
} |
@@ -80,12 +80,6 @@ |
void postDelayedTask(const WebTraceLocation&, Task* task, double delayMs) override |
{ |
ASSERT_NOT_REACHED(); |
- } |
- |
- WebTaskRunner* clone() override |
- { |
- ASSERT_NOT_REACHED(); |
- return nullptr; |
} |
Deque<OwnPtr<WebTaskRunner::Task>>* m_tasks; // NOT OWNED |