diff options
Diffstat (limited to 'third_party/WebKit/Source/platform')
-rw-r--r-- | third_party/WebKit/Source/platform/TimerTest.cpp | 8 | ||||
-rw-r--r-- | third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/third_party/WebKit/Source/platform/TimerTest.cpp b/third_party/WebKit/Source/platform/TimerTest.cpp index 6db91cb..9a0900c 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 { } - void postTask(const WebTraceLocation&, Task* task) override + virtual void postTask(const WebTraceLocation&, Task* task) { m_timerTasks->push(DelayedTask(task, 0)); } @@ -87,12 +87,6 @@ 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 }; diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp index abc94b7..8cf1c04 100644 --- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp +++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp @@ -260,7 +260,7 @@ private: MockWebTaskRunner() : m_task(0) { } ~MockWebTaskRunner() override { } - void postTask(const WebTraceLocation&, Task* task) override + virtual void postTask(const WebTraceLocation&, Task* task) { EXPECT_EQ((Task*)0, m_task); m_task = task; @@ -268,12 +268,6 @@ private: void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) override { ASSERT_NOT_REACHED(); }; - WebTaskRunner* clone() override - { - ASSERT_NOT_REACHED(); - return nullptr; - } - Task* m_task; }; |