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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.h

Issue 131973002: Update HTML canvas classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: Source/core/html/canvas/CanvasRenderingContext2D.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h
index 8493b10b149c69a3c77bbe69dcf9819bea37bfaa..543754c82916c38cbbaa6252ddb950225510356e 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h
@@ -62,7 +62,7 @@ class TextMetrics;
typedef HashMap<String, RefPtr<MutableStylePropertySet> > MutableStylePropertyMap;
-class CanvasRenderingContext2D : public CanvasRenderingContext, public CanvasPathMethods {
+class CanvasRenderingContext2D FINAL : public CanvasRenderingContext, public CanvasPathMethods {
public:
static PassOwnPtr<CanvasRenderingContext2D> create(HTMLCanvasElement* canvas, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityParseMode)
{
@@ -240,7 +240,7 @@ public:
bool drawCustomFocusRing(Element*);
private:
- struct State : FontSelectorClient {
+ struct State FINAL : FontSelectorClient {
State();
virtual ~State();
@@ -326,7 +326,7 @@ private:
virtual bool isAccelerated() const OVERRIDE;
virtual bool hasAlpha() const OVERRIDE { return m_hasAlpha; }
- virtual bool isTransformInvertible() const { return state().m_invertibleCTM; }
+ virtual bool isTransformInvertible() const OVERRIDE { return state().m_invertibleCTM; }
virtual blink::WebLayer* platformLayer() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698