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

Unified Diff: Source/core/html/HTMLCanvasElement.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/HTMLButtonElement.h ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 195f260097d107b0e5e3ee6ec74abbfcd352e57c..85f683b8edb850fddec1aaba5da3e80fb291e617 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -68,7 +68,7 @@ public:
virtual void trace(Visitor*) { }
};
-class HTMLCanvasElement FINAL : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient, public blink::WebThread::TaskObserver {
+class HTMLCanvasElement final : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient, public blink::WebThread::TaskObserver {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElement);
public:
@@ -139,38 +139,38 @@ public:
bool shouldAccelerate(const IntSize&) const;
- virtual const AtomicString imageSourceURL() const OVERRIDE;
+ virtual const AtomicString imageSourceURL() const override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
// DocumentVisibilityObserver implementation
- virtual void didChangeVisibilityState(PageVisibilityState) OVERRIDE;
+ virtual void didChangeVisibilityState(PageVisibilityState) override;
// CanvasImageSource implementation
- virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const OVERRIDE;
- virtual bool wouldTaintOrigin(SecurityOrigin*) const OVERRIDE;
- virtual FloatSize sourceSize() const OVERRIDE;
+ virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
+ virtual bool wouldTaintOrigin(SecurityOrigin*) const override;
+ virtual FloatSize sourceSize() const override;
// ImageBufferClient implementation
- virtual void notifySurfaceInvalid() OVERRIDE;
- virtual bool isDirty() OVERRIDE { return !m_dirtyRect.isEmpty(); }
- virtual void didFinalizeFrame() OVERRIDE;
+ virtual void notifySurfaceInvalid() override;
+ virtual bool isDirty() override { return !m_dirtyRect.isEmpty(); }
+ virtual void didFinalizeFrame() override;
// Implementation of WebThread::TaskObserver methods
- virtual void willProcessTask() OVERRIDE;
- virtual void didProcessTask() OVERRIDE;
+ virtual void willProcessTask() override;
+ virtual void didProcessTask() override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
protected:
- virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
+ virtual void didMoveToNewDocument(Document& oldDocument) override;
private:
explicit HTMLCanvasElement(Document&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; }
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual bool areAuthorShadowsAllowed() const override { return false; }
void reset();
« no previous file with comments | « Source/core/html/HTMLButtonElement.h ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698