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

Unified Diff: Source/platform/graphics/DecodingImageGenerator.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
« no previous file with comments | « Source/platform/graphics/CrossfadeGeneratedImage.h ('k') | Source/platform/graphics/DiscardablePixelRef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DecodingImageGenerator.h
diff --git a/Source/platform/graphics/DecodingImageGenerator.h b/Source/platform/graphics/DecodingImageGenerator.h
index edea64182596dae49284a403c84265305e147889..145c6457ded2769158a4de6c831af935b68ef953 100644
--- a/Source/platform/graphics/DecodingImageGenerator.h
+++ b/Source/platform/graphics/DecodingImageGenerator.h
@@ -42,15 +42,15 @@ class ImageFrameGenerator;
//
// This class does not own an ImageDecode. It does not own encoded data. It serves
// as and adapter to ImageFrameGenerator which actually performs decoding.
-class DecodingImageGenerator : public SkImageGenerator {
+class DecodingImageGenerator FINAL : public SkImageGenerator {
public:
DecodingImageGenerator(PassRefPtr<ImageFrameGenerator>, const SkImageInfo&, size_t index);
virtual ~DecodingImageGenerator();
// SkImageGenerator implementation.
- virtual SkData* refEncodedData();
- virtual bool getInfo(SkImageInfo*);
- virtual bool getPixels(const SkImageInfo&, void* pixels, size_t rowBytes);
+ virtual SkData* refEncodedData() OVERRIDE;
+ virtual bool getInfo(SkImageInfo*) OVERRIDE;
+ virtual bool getPixels(const SkImageInfo&, void* pixels, size_t rowBytes) OVERRIDE;
void setGenerationId(size_t id) { m_generationId = id; }
« no previous file with comments | « Source/platform/graphics/CrossfadeGeneratedImage.h ('k') | Source/platform/graphics/DiscardablePixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698