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

Unified Diff: Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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
« no previous file with comments | « Source/platform/graphics/RecordingImageBufferSurface.h ('k') | Source/platform/graphics/ReplayingCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp
diff --git a/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp b/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp
index f243a6ffb583d963c34c29e7a02084247b171e46..d3f94995d90e41a88cf77f8edbdb7ee190005f9c 100644
--- a/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp
+++ b/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp
@@ -48,8 +48,8 @@ public:
}
// TaskObserver implementation
- virtual void willProcessTask() OVERRIDE { ASSERT_NOT_REACHED(); }
- virtual void didProcessTask() OVERRIDE
+ virtual void willProcessTask() override { ASSERT_NOT_REACHED(); }
+ virtual void didProcessTask() override
{
ASSERT_TRUE(m_isDirty);
FloatRect dirtyRect(0, 0, 1, 1);
@@ -240,28 +240,28 @@ private:
m_task = task;
}
- virtual void postDelayedTask(Task*, long long delayMs) OVERRIDE { ASSERT_NOT_REACHED(); };
+ virtual void postDelayedTask(Task*, long long delayMs) override { ASSERT_NOT_REACHED(); };
- virtual bool isCurrentThread() const OVERRIDE { return true; }
- virtual PlatformThreadId threadId() const OVERRIDE
+ virtual bool isCurrentThread() const override { return true; }
+ virtual PlatformThreadId threadId() const override
{
ASSERT_NOT_REACHED();
return 0;
}
- virtual void addTaskObserver(TaskObserver* taskObserver) OVERRIDE
+ virtual void addTaskObserver(TaskObserver* taskObserver) override
{
EXPECT_EQ((TaskObserver*)0, m_taskObserver);
m_taskObserver = taskObserver;
}
- virtual void removeTaskObserver(TaskObserver* taskObserver) OVERRIDE
+ virtual void removeTaskObserver(TaskObserver* taskObserver) override
{
EXPECT_EQ(m_taskObserver, taskObserver);
m_taskObserver = 0;
}
- virtual void enterRunLoop() OVERRIDE
+ virtual void enterRunLoop() override
{
if (m_taskObserver)
m_taskObserver->willProcessTask();
@@ -274,7 +274,7 @@ private:
m_taskObserver->didProcessTask();
}
- virtual void exitRunLoop() OVERRIDE { ASSERT_NOT_REACHED(); }
+ virtual void exitRunLoop() override { ASSERT_NOT_REACHED(); }
private:
TaskObserver* m_taskObserver;
@@ -285,7 +285,7 @@ private:
public:
CurrentThreadPlatformMock() { }
virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) { ASSERT_NOT_REACHED(); }
- virtual WebThread* currentThread() OVERRIDE { return &m_currentThread; }
+ virtual WebThread* currentThread() override { return &m_currentThread; }
private:
CurrentThreadMock m_currentThread;
};
@@ -299,7 +299,7 @@ private:
class TestWrapperTask_ ## TEST_METHOD : public WebThread::Task { \
public: \
TestWrapperTask_ ## TEST_METHOD(RecordingImageBufferSurfaceTest* test) : m_test(test) { } \
- virtual void run() OVERRIDE { m_test->TEST_METHOD(); } \
+ virtual void run() override { m_test->TEST_METHOD(); } \
private: \
RecordingImageBufferSurfaceTest* m_test; \
};
« no previous file with comments | « Source/platform/graphics/RecordingImageBufferSurface.h ('k') | Source/platform/graphics/ReplayingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698