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

Unified Diff: Source/platform/graphics/Canvas2DLayerManager.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/graphics/Canvas2DLayerBridge.h ('k') | Source/platform/graphics/ContentLayerDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Canvas2DLayerManager.h
diff --git a/Source/platform/graphics/Canvas2DLayerManager.h b/Source/platform/graphics/Canvas2DLayerManager.h
index eb52c66646a5086ef7dcb688d3f008207d3329fc..b1750a3038c0f70647ca637e05496302ec7fd590 100644
--- a/Source/platform/graphics/Canvas2DLayerManager.h
+++ b/Source/platform/graphics/Canvas2DLayerManager.h
@@ -37,7 +37,7 @@ public:
static Canvas2DLayerManager& get();
void init(size_t maxBytesAllocated, size_t targetBytesAllocated);
- virtual ~Canvas2DLayerManager();
+ ~Canvas2DLayerManager() override;
void layerTransientResourceAllocationChanged(Canvas2DLayerBridge*, intptr_t deltaBytes = 0);
void layerDidDraw(Canvas2DLayerBridge*);
@@ -49,8 +49,8 @@ private:
// internal methods
void freeMemoryIfNecessary();
void addLayerToList(Canvas2DLayerBridge*);
- virtual void willProcessTask() override;
- virtual void didProcessTask() override;
+ void willProcessTask() override;
+ void didProcessTask() override;
size_t m_bytesAllocated;
size_t m_maxBytesAllocated;
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerBridge.h ('k') | Source/platform/graphics/ContentLayerDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698