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

Unified Diff: Source/core/rendering/RenderImage.h

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 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/rendering/RenderHTMLCanvas.h ('k') | Source/core/rendering/RenderImageResourceStyleImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderImage.h
diff --git a/Source/core/rendering/RenderImage.h b/Source/core/rendering/RenderImage.h
index d7e67f0c7e360c0c68a3430fb4227feb40e7a4b7..07452bd3b031f477f3bced71aa886d290269c1c4 100644
--- a/Source/core/rendering/RenderImage.h
+++ b/Source/core/rendering/RenderImage.h
@@ -75,24 +75,24 @@ protected:
void paintIntoRect(GraphicsContext*, const LayoutRect&);
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
- virtual void layout();
- virtual void didLayout(ResourceLoadPriorityOptimizer&);
- virtual void didScroll(ResourceLoadPriorityOptimizer&);
+ virtual void layout() OVERRIDE;
+ virtual void didLayout(ResourceLoadPriorityOptimizer&) OVERRIDE;
+ virtual void didScroll(ResourceLoadPriorityOptimizer&) OVERRIDE;
void updateImageLoadingPriority(ResourceLoadPriorityOptimizer&);
- virtual void intrinsicSizeChanged()
+ virtual void intrinsicSizeChanged() OVERRIDE
{
if (m_imageResource)
imageChanged(m_imageResource->imagePtr());
}
private:
- virtual const char* renderName() const { return "RenderImage"; }
+ virtual const char* renderName() const OVERRIDE { return "RenderImage"; }
- virtual bool isImage() const { return true; }
+ virtual bool isImage() const OVERRIDE { return true; }
virtual bool isRenderImage() const OVERRIDE FINAL { return true; }
- virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
+ virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE;
virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const OVERRIDE FINAL;
virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE FINAL;
« no previous file with comments | « Source/core/rendering/RenderHTMLCanvas.h ('k') | Source/core/rendering/RenderImageResourceStyleImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698