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

Unified Diff: Source/platform/image-decoders/ico/ICOImageDecoder.h

Issue 131003004: Update platform classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
Index: Source/platform/image-decoders/ico/ICOImageDecoder.h
diff --git a/Source/platform/image-decoders/ico/ICOImageDecoder.h b/Source/platform/image-decoders/ico/ICOImageDecoder.h
index 7f376344114fe7b69dbc6bf1036ee7f9cfa8ead8..9825c7f33aa26c927ccb5fb02d6d3d6ec0e69164 100644
--- a/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -44,19 +44,19 @@ public:
virtual ~ICOImageDecoder();
// ImageDecoder
- virtual String filenameExtension() const { return "ico"; }
- virtual void setData(SharedBuffer*, bool allDataReceived);
- virtual bool isSizeAvailable();
- virtual IntSize size() const;
- virtual IntSize frameSizeAtIndex(size_t) const;
- virtual bool setSize(unsigned width, unsigned height);
- virtual size_t frameCount();
- virtual ImageFrame* frameBufferAtIndex(size_t);
+ virtual String filenameExtension() const OVERRIDE { return "ico"; }
+ virtual void setData(SharedBuffer*, bool allDataReceived) OVERRIDE;
+ virtual bool isSizeAvailable() OVERRIDE;
+ virtual IntSize size() const OVERRIDE;
+ virtual IntSize frameSizeAtIndex(size_t) const OVERRIDE;
+ virtual bool setSize(unsigned width, unsigned height) OVERRIDE;
+ virtual size_t frameCount() OVERRIDE;
+ virtual ImageFrame* frameBufferAtIndex(size_t) OVERRIDE;
// CAUTION: setFailed() deletes all readers and decoders. Be careful to
// avoid accessing deleted memory, especially when calling this from
// inside BMPImageReader!
- virtual bool setFailed();
- virtual bool hotSpot(IntPoint&) const;
+ virtual bool setFailed() OVERRIDE;
+ virtual bool hotSpot(IntPoint&) const OVERRIDE;
private:
enum ImageType {
« no previous file with comments | « Source/platform/image-decoders/bmp/BMPImageDecoder.h ('k') | Source/platform/image-decoders/png/PNGImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698