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

Unified Diff: Source/platform/graphics/LazyDecodingPixelRef.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/ImageDecodingStore.h ('k') | Source/platform/image-decoders/bmp/BMPImageDecoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/LazyDecodingPixelRef.h
diff --git a/Source/platform/graphics/LazyDecodingPixelRef.h b/Source/platform/graphics/LazyDecodingPixelRef.h
index c1a137e9725e733809476014aac3d537a24c2b71..2653843062e2a5a3272d97ce00ad11487ef4f790 100644
--- a/Source/platform/graphics/LazyDecodingPixelRef.h
+++ b/Source/platform/graphics/LazyDecodingPixelRef.h
@@ -45,7 +45,7 @@ namespace WebCore {
class ImageFrameGenerator;
class ScaledImageFragment;
-class LazyDecodingPixelRef : public LazyPixelRef {
+class LazyDecodingPixelRef FINAL : public LazyPixelRef {
public:
LazyDecodingPixelRef(const SkImageInfo&, PassRefPtr<ImageFrameGenerator>, size_t index);
virtual ~LazyDecodingPixelRef();
@@ -57,15 +57,15 @@ public:
// Returns true if the image might already be decoded in the cache.
// Optimistic version of PrepareToDecode; requires less locking.
- virtual bool MaybeDecoded();
- virtual bool PrepareToDecode(const LazyPixelRef::PrepareParams&);
- virtual void Decode();
+ virtual bool MaybeDecoded() OVERRIDE;
+ virtual bool PrepareToDecode(const LazyPixelRef::PrepareParams&) OVERRIDE;
+ virtual void Decode() OVERRIDE;
protected:
// SkPixelRef implementation.
- virtual void* onLockPixels(SkColorTable**);
- virtual void onUnlockPixels();
- virtual bool onLockPixelsAreWritable() const;
+ virtual void* onLockPixels(SkColorTable**) OVERRIDE;
+ virtual void onUnlockPixels() OVERRIDE;
+ virtual bool onLockPixelsAreWritable() const OVERRIDE;
virtual SkData* onRefEncodedData() SK_OVERRIDE;
« no previous file with comments | « Source/platform/graphics/ImageDecodingStore.h ('k') | Source/platform/image-decoders/bmp/BMPImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698