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

Unified Diff: Source/core/frame/ImageBitmap.h

Issue 635853002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/frame (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/frame/History.h ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/ImageBitmap.h
diff --git a/Source/core/frame/ImageBitmap.h b/Source/core/frame/ImageBitmap.h
index 625420c34624ffe6783dfcb2d597ad11dc3a625d..eb876707bdea049fe32a866aa1006d4fb694fb1d 100644
--- a/Source/core/frame/ImageBitmap.h
+++ b/Source/core/frame/ImageBitmap.h
@@ -20,7 +20,7 @@ class HTMLCanvasElement;
class HTMLVideoElement;
class ImageData;
-class ImageBitmap FINAL : public RefCountedWillBeGarbageCollectedFinalized<ImageBitmap>, public ScriptWrappable, public ImageLoaderClient, public CanvasImageSource {
+class ImageBitmap final : public RefCountedWillBeGarbageCollectedFinalized<ImageBitmap>, public ScriptWrappable, public ImageLoaderClient, public CanvasImageSource {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ImageBitmap);
public:
@@ -43,10 +43,10 @@ public:
virtual ~ImageBitmap();
// CanvasImageSource implementation
- virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const OVERRIDE;
- virtual bool wouldTaintOrigin(SecurityOrigin*) const OVERRIDE { return false; };
- virtual void adjustDrawRects(FloatRect* srcRect, FloatRect* dstRect) const OVERRIDE;
- virtual FloatSize sourceSize() const OVERRIDE;
+ virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
+ virtual bool wouldTaintOrigin(SecurityOrigin*) const override { return false; };
+ virtual void adjustDrawRects(FloatRect* srcRect, FloatRect* dstRect) const override;
+ virtual FloatSize sourceSize() const override;
virtual void trace(Visitor*);
@@ -59,8 +59,8 @@ private:
ImageBitmap(Image*, const IntRect&);
// ImageLoaderClient
- virtual void notifyImageSourceChanged() OVERRIDE;
- virtual bool requestsHighLiveResourceCachePriority() OVERRIDE { return true; }
+ virtual void notifyImageSourceChanged() override;
+ virtual bool requestsHighLiveResourceCachePriority() override { return true; }
// ImageBitmaps constructed from HTMLImageElements hold a reference to the HTMLImageElement until
// the image source changes.
« no previous file with comments | « Source/core/frame/History.h ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698