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

Unified Diff: Source/platform/graphics/DiscardablePixelRef.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/DecodingImageGenerator.h ('k') | Source/platform/graphics/ImageDecodingStore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DiscardablePixelRef.h
diff --git a/Source/platform/graphics/DiscardablePixelRef.h b/Source/platform/graphics/DiscardablePixelRef.h
index 5e535576d133e20d2bd83440fcf1bcf62d729f10..658301ab855ef40b9453485bc9b43e0468d98d54 100644
--- a/Source/platform/graphics/DiscardablePixelRef.h
+++ b/Source/platform/graphics/DiscardablePixelRef.h
@@ -41,7 +41,7 @@ class PLATFORM_EXPORT DiscardablePixelRefAllocator : public SkBitmap::Allocator
// SkBitmap::Allocator implementation. The discardable memory allocated
// after this call is locked and will not be purged until next
// onUnlockPixels().
- virtual bool allocPixelRef(SkBitmap*, SkColorTable*);
+ virtual bool allocPixelRef(SkBitmap*, SkColorTable*) OVERRIDE;
};
// PixelRef object whose memory can be discarded when pixels are unlocked.
@@ -57,8 +57,8 @@ public:
protected:
// SkPixelRef implementation.
- virtual void* onLockPixels(SkColorTable**);
- virtual void onUnlockPixels();
+ virtual void* onLockPixels(SkColorTable**) OVERRIDE;
+ virtual void onUnlockPixels() OVERRIDE;
private:
void* m_lockedMemory;
« no previous file with comments | « Source/platform/graphics/DecodingImageGenerator.h ('k') | Source/platform/graphics/ImageDecodingStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698