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

Unified Diff: Source/platform/image-decoders/webp/WEBPImageDecoder.h

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/image-decoders/png/PNGImageDecoder.h ('k') | Source/platform/mac/ScrollAnimatorMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/image-decoders/webp/WEBPImageDecoder.h
diff --git a/Source/platform/image-decoders/webp/WEBPImageDecoder.h b/Source/platform/image-decoders/webp/WEBPImageDecoder.h
index 9bd6c0250e729df9aaed35f4773f5948aa75f227..017d6c857d8c5cc314724f09beef8f6bcf0cb052 100644
--- a/Source/platform/image-decoders/webp/WEBPImageDecoder.h
+++ b/Source/platform/image-decoders/webp/WEBPImageDecoder.h
@@ -40,23 +40,23 @@ class PLATFORM_EXPORT WEBPImageDecoder : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(WEBPImageDecoder);
public:
WEBPImageDecoder(ImageSource::AlphaOption, ImageSource::GammaAndColorProfileOption, size_t maxDecodedBytes);
- virtual ~WEBPImageDecoder();
+ ~WEBPImageDecoder() override;
// ImageDecoder:
- virtual String filenameExtension() const override { return "webp"; }
- virtual bool hasColorProfile() const override { return m_hasColorProfile; }
- virtual void setData(SharedBuffer* data, bool allDataReceived) override;
- virtual int repetitionCount() const override;
- virtual bool frameIsCompleteAtIndex(size_t) const override;
- virtual float frameDurationAtIndex(size_t) const override;
- virtual size_t clearCacheExceptFrame(size_t) override;
+ String filenameExtension() const override { return "webp"; }
+ bool hasColorProfile() const override { return m_hasColorProfile; }
+ void setData(SharedBuffer* data, bool allDataReceived) override;
+ int repetitionCount() const override;
+ bool frameIsCompleteAtIndex(size_t) const override;
+ float frameDurationAtIndex(size_t) const override;
+ size_t clearCacheExceptFrame(size_t) override;
private:
// ImageDecoder:
virtual void decodeSize() { updateDemuxer(); }
- virtual size_t decodeFrameCount() override;
- virtual void initializeNewFrame(size_t) override;
- virtual void decode(size_t) override;
+ size_t decodeFrameCount() override;
+ void initializeNewFrame(size_t) override;
+ void decode(size_t) override;
bool decodeSingleFrame(const uint8_t* dataBytes, size_t dataSize, size_t frameIndex);
@@ -78,7 +78,7 @@ private:
bool updateDemuxer();
bool initFrameBuffer(size_t frameIndex);
void applyPostProcessing(size_t frameIndex);
- virtual void clearFrameBuffer(size_t frameIndex) override;
+ void clearFrameBuffer(size_t frameIndex) override;
WebPDemuxer* m_demux;
WebPDemuxState m_demuxState;
« no previous file with comments | « Source/platform/image-decoders/png/PNGImageDecoder.h ('k') | Source/platform/mac/ScrollAnimatorMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698