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

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

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/DecodingImageGenerator.h ('k') | Source/platform/graphics/GeneratedImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DeferredImageDecoderTest.cpp
diff --git a/Source/platform/graphics/DeferredImageDecoderTest.cpp b/Source/platform/graphics/DeferredImageDecoderTest.cpp
index 128bffcf85e797bacafb6569314ec4e6bd3beb20..cc9f9cce483b6846752137e0f67081eca3cfd5c7 100644
--- a/Source/platform/graphics/DeferredImageDecoderTest.cpp
+++ b/Source/platform/graphics/DeferredImageDecoderTest.cpp
@@ -71,7 +71,7 @@ struct Rasterizer {
class DeferredImageDecoderTest : public ::testing::Test, public MockImageDecoderClient {
public:
- virtual void SetUp() override
+ void SetUp() override
{
ImageDecodingStore::instance().setCacheLimitInBytes(1024 * 1024);
DeferredImageDecoder::setEnabled(true);
@@ -90,42 +90,42 @@ public:
m_decodedSize = m_actualDecoder->size();
}
- virtual void TearDown() override
+ void TearDown() override
{
ImageDecodingStore::instance().clear();
}
- virtual void decoderBeingDestroyed() override
+ void decoderBeingDestroyed() override
{
m_actualDecoder = 0;
}
- virtual void decodeRequested() override
+ void decodeRequested() override
{
++m_decodeRequestCount;
}
- virtual size_t frameCount() override
+ size_t frameCount() override
{
return m_frameCount;
}
- virtual int repetitionCount() const override
+ int repetitionCount() const override
{
return m_repetitionCount;
}
- virtual ImageFrame::Status status() override
+ ImageFrame::Status status() override
{
return m_status;
}
- virtual float frameDuration() const override
+ float frameDuration() const override
{
return m_frameDuration;
}
- virtual IntSize decodedSize() const override
+ IntSize decodedSize() const override
{
return m_decodedSize;
}
« no previous file with comments | « Source/platform/graphics/DecodingImageGenerator.h ('k') | Source/platform/graphics/GeneratedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698