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

Unified Diff: Source/platform/graphics/ImageFrameGeneratorTest.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/ImageFrameGenerator.cpp ('k') | Source/platform/graphics/LoggingCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageFrameGeneratorTest.cpp
diff --git a/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/Source/platform/graphics/ImageFrameGeneratorTest.cpp
index 93c4f3bda01ab1de0f6b2b07caaad54e5776f831..c4ab8477bd52aa85fc2acffd62964b952c0bca37 100644
--- a/Source/platform/graphics/ImageFrameGeneratorTest.cpp
+++ b/Source/platform/graphics/ImageFrameGeneratorTest.cpp
@@ -52,7 +52,7 @@ SkImageInfo imageInfo()
class ImageFrameGeneratorTest : public ::testing::Test, public MockImageDecoderClient {
public:
- virtual void SetUp() override
+ void SetUp() override
{
ImageDecodingStore::instance().setCacheLimitInBytes(1024 * 1024);
m_data = SharedBuffer::create();
@@ -64,31 +64,31 @@ public:
m_frameCount = 1;
}
- virtual void TearDown() override
+ void TearDown() override
{
ImageDecodingStore::instance().clear();
}
- virtual void decoderBeingDestroyed() override
+ void decoderBeingDestroyed() override
{
++m_decodersDestroyed;
}
- virtual void decodeRequested() override
+ void decodeRequested() override
{
++m_decodeRequestCount;
}
- virtual ImageFrame::Status status() override
+ ImageFrame::Status status() override
{
ImageFrame::Status currentStatus = m_status;
m_status = m_nextFrameStatus;
return currentStatus;
}
- virtual size_t frameCount() override { return m_frameCount; }
- virtual int repetitionCount() const override { return m_frameCount == 1 ? cAnimationNone:cAnimationLoopOnce; }
- virtual float frameDuration() const override { return 0; }
+ size_t frameCount() override { return m_frameCount; }
+ int repetitionCount() const override { return m_frameCount == 1 ? cAnimationNone:cAnimationLoopOnce; }
+ float frameDuration() const override { return 0; }
protected:
void useMockImageDecoderFactory()
« no previous file with comments | « Source/platform/graphics/ImageFrameGenerator.cpp ('k') | Source/platform/graphics/LoggingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698