| Index: third_party/WebKit/Source/platform/TimerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/TimerTest.cpp b/third_party/WebKit/Source/platform/TimerTest.cpp
|
| index 9a0900c88513271e3bdb625de9f0e0e5d18a3644..6db91cbaf20d490bb270cd43d6f0b0369a76043a 100644
|
| --- a/third_party/WebKit/Source/platform/TimerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/TimerTest.cpp
|
| @@ -77,7 +77,7 @@ public:
|
| explicit MockWebTaskRunner(std::priority_queue<DelayedTask>* timerTasks) : m_timerTasks(timerTasks) { }
|
| ~MockWebTaskRunner() override { }
|
|
|
| - virtual void postTask(const WebTraceLocation&, Task* task)
|
| + void postTask(const WebTraceLocation&, Task* task) override
|
| {
|
| m_timerTasks->push(DelayedTask(task, 0));
|
| }
|
| @@ -87,6 +87,12 @@ public:
|
| m_timerTasks->push(DelayedTask(task, delayMs * 0.001));
|
| }
|
|
|
| + WebTaskRunner* clone() override
|
| + {
|
| + ASSERT_NOT_REACHED();
|
| + return nullptr;
|
| + }
|
| +
|
| std::priority_queue<DelayedTask>* m_timerTasks; // NOT OWNED
|
| };
|
|
|
|
|