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

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

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (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/core/html/TextDocument.h ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext.h b/Source/core/html/canvas/CanvasRenderingContext.h
index edaee21a78dcc46b28ccdfb7f0cb2f032351913c..227b6c55f484ff879acb3436c977d055c7e52bd7 100644
--- a/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/Source/core/html/canvas/CanvasRenderingContext.h
@@ -47,7 +47,7 @@ class CORE_EXPORT CanvasRenderingContext : public NoBaseWillBeGarbageCollectedFi
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(CanvasRenderingContext);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(CanvasRenderingContext);
public:
- virtual ~CanvasRenderingContext() { }
+ ~CanvasRenderingContext() override { }
// A Canvas can either be "2D" or "webgl" but never both. If you request a 2D canvas and the existing
// context is already 2D, just return that. If the existing context is WebGL, then destroy it
@@ -102,7 +102,7 @@ protected:
DECLARE_VIRTUAL_TRACE();
// ActiveDOMObject notifications
- bool hasPendingActivity() const override final;
+ bool hasPendingActivity() const final;
void stop() override = 0;
private:
« no previous file with comments | « Source/core/html/TextDocument.h ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698