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

Unified Diff: Source/platform/graphics/Canvas2DImageBufferSurface.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/BitmapImage.h ('k') | Source/platform/graphics/CrossfadeGeneratedImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Canvas2DImageBufferSurface.h
diff --git a/Source/platform/graphics/Canvas2DImageBufferSurface.h b/Source/platform/graphics/Canvas2DImageBufferSurface.h
index e14bb5d94246445d8620488bc0b07da2d10553c0..eed61d04c117aec91bfc3fd110dae2f7cf4bcebf 100644
--- a/Source/platform/graphics/Canvas2DImageBufferSurface.h
+++ b/Source/platform/graphics/Canvas2DImageBufferSurface.h
@@ -37,7 +37,7 @@
namespace WebCore {
// This shim necessary because ImageBufferSurfaces are not allowed to be RefCounted
-class Canvas2DImageBufferSurface : public ImageBufferSurface {
+class Canvas2DImageBufferSurface FINAL : public ImageBufferSurface {
public:
Canvas2DImageBufferSurface(const IntSize& size, OpacityMode opacityMode = NonOpaque, int msaaSampleCount = 1)
: ImageBufferSurface(size, opacityMode)
@@ -58,7 +58,7 @@ public:
virtual bool isValid() const OVERRIDE { return m_layerBridge && m_layerBridge->isValid(); }
virtual blink::WebLayer* layer() const OVERRIDE { return m_layerBridge->layer(); }
virtual Platform3DObject getBackingTexture() const OVERRIDE { return m_layerBridge->getBackingTexture(); }
- virtual bool isAccelerated() const { return m_layerBridge->isAccelerated(); }
+ virtual bool isAccelerated() const OVERRIDE { return m_layerBridge->isAccelerated(); }
private:
RefPtr<Canvas2DLayerBridge> m_layerBridge;
« no previous file with comments | « Source/platform/graphics/BitmapImage.h ('k') | Source/platform/graphics/CrossfadeGeneratedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698