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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (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/frame/FrameView.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 6e3054a62983482ce2d2ca01b7dbd182197ddddd..95a88d958dfcc71a7da55bc2316087ed37cc6578 100644
--- a/Source/core/frame/ImageBitmap.h
+++ b/Source/core/frame/ImageBitmap.h
@@ -41,13 +41,13 @@ public:
int height() const { return m_cropRect.height(); }
IntSize size() const { return m_cropRect.size(); }
- virtual ~ImageBitmap();
+ ~ImageBitmap() override;
// 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 elementSize() const override;
+ PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
+ bool wouldTaintOrigin(SecurityOrigin*) const override { return false; }
+ void adjustDrawRects(FloatRect* srcRect, FloatRect* dstRect) const override;
+ FloatSize elementSize() const override;
DECLARE_VIRTUAL_TRACE();
@@ -60,8 +60,8 @@ private:
ImageBitmap(Image*, const IntRect&);
// ImageLoaderClient
- virtual void notifyImageSourceChanged() override;
- virtual bool requestsHighLiveResourceCachePriority() override { return true; }
+ void notifyImageSourceChanged() override;
+ 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/FrameView.h ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698