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

Unified Diff: Source/platform/graphics/test/MockImageDecoder.h

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/gpu/WebGLImageBufferSurface.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/test/MockImageDecoder.h
diff --git a/Source/platform/graphics/test/MockImageDecoder.h b/Source/platform/graphics/test/MockImageDecoder.h
index 65e9003c936f03b3517987a21151b6b324524174..f5ab1a90e06e92737b2cd47dbea0760e847bc68a 100644
--- a/Source/platform/graphics/test/MockImageDecoder.h
+++ b/Source/platform/graphics/test/MockImageDecoder.h
@@ -61,12 +61,12 @@ public:
m_client->decoderBeingDestroyed();
}
- virtual IntSize decodedSize() const OVERRIDE
+ virtual IntSize decodedSize() const override
{
return m_client->decodedSize().isEmpty() ? size() : m_client->decodedSize();
}
- virtual bool setSize(unsigned width, unsigned height) OVERRIDE
+ virtual bool setSize(unsigned width, unsigned height) override
{
ImageDecoder::setSize(width, height);
m_frameBufferCache.resize(1);
@@ -74,22 +74,22 @@ public:
return true;
}
- virtual String filenameExtension() const OVERRIDE
+ virtual String filenameExtension() const override
{
return "mock";
}
- virtual size_t frameCount() OVERRIDE
+ virtual size_t frameCount() override
{
return m_client->frameCount();
}
- virtual int repetitionCount() const OVERRIDE
+ virtual int repetitionCount() const override
{
return m_client->repetitionCount();
}
- virtual ImageFrame* frameBufferAtIndex(size_t) OVERRIDE
+ virtual ImageFrame* frameBufferAtIndex(size_t) override
{
m_client->frameBufferRequested();
@@ -97,12 +97,12 @@ public:
return &m_frameBufferCache[0];
}
- virtual bool frameIsCompleteAtIndex(size_t) const OVERRIDE
+ virtual bool frameIsCompleteAtIndex(size_t) const override
{
return m_client->status() == ImageFrame::FrameComplete;
}
- virtual float frameDurationAtIndex(size_t) const OVERRIDE
+ virtual float frameDurationAtIndex(size_t) const override
{
return m_client->frameDuration();
}
@@ -125,7 +125,7 @@ public:
return adoptPtr(new MockImageDecoderFactory(client, decodedSize));
}
- virtual PassOwnPtr<ImageDecoder> create() OVERRIDE
+ virtual PassOwnPtr<ImageDecoder> create() override
{
OwnPtr<MockImageDecoder> decoder = MockImageDecoder::create(m_client);
decoder->setSize(m_decodedSize.width(), m_decodedSize.height());
« no previous file with comments | « Source/platform/graphics/gpu/WebGLImageBufferSurface.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698