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(); |