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

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

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: Source/core/rendering/RenderImage.h
diff --git a/Source/core/rendering/RenderImage.h b/Source/core/rendering/RenderImage.h
index 48ef4cc7c5cb8e0bd9c2334d394a74d5b8afe6d8..445dc5ece86fc94be2603d8a4731d4d47d1c99c3 100644
--- a/Source/core/rendering/RenderImage.h
+++ b/Source/core/rendering/RenderImage.h
@@ -62,16 +62,16 @@ public:
String altText() const { return m_altText; }
protected:
- virtual bool needsPreferredWidthsRecalculation() const;
- virtual RenderBox* embeddedContentBox() const;
- virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;
+ virtual bool needsPreferredWidthsRecalculation() const FINAL;
+ virtual RenderBox* embeddedContentBox() const FINAL;
+ virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const FINAL;
- virtual void styleDidChange(StyleDifference, const RenderStyle*);
+ virtual void styleDidChange(StyleDifference, const RenderStyle*) FINAL;
virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
- virtual void paintIntoRect(GraphicsContext*, const LayoutRect&);
- virtual void paint(PaintInfo&, const LayoutPoint&);
+ virtual void paintIntoRect(GraphicsContext*, const LayoutRect&) FINAL;
+ virtual void paint(PaintInfo&, const LayoutPoint&) FINAL;
virtual void layout();
virtual void intrinsicSizeChanged()
@@ -84,19 +84,19 @@ private:
virtual const char* renderName() const { return "RenderImage"; }
virtual bool isImage() const { return true; }
- virtual bool isRenderImage() const { return true; }
+ virtual bool isRenderImage() const FINAL { return true; }
virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
- virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const OVERRIDE;
- virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE;
+ virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const OVERRIDE FINAL;
+ virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE FINAL;
virtual LayoutUnit minimumReplacedHeight() const OVERRIDE;
- virtual void notifyFinished(CachedResource*);
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
+ virtual void notifyFinished(CachedResource*) FINAL;
+ virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE FINAL;
- virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE;
+ virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE FINAL;
IntSize imageSizeForError(CachedImage*) const;
void imageDimensionsChanged(bool imageSizeChanged, const IntRect* = 0);

Powered by Google App Engine
This is Rietveld 408576698