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

Unified Diff: Source/core/rendering/RenderPart.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/RenderPart.h
diff --git a/Source/core/rendering/RenderPart.h b/Source/core/rendering/RenderPart.h
index 95294da1eed9cca1a14a5de871f55d27fe490076..9a5af6dfa813c781e649472c11350513c9cbf208 100644
--- a/Source/core/rendering/RenderPart.h
+++ b/Source/core/rendering/RenderPart.h
@@ -33,13 +33,13 @@ public:
explicit RenderPart(Element*);
virtual ~RenderPart();
- virtual void setWidget(PassRefPtr<Widget>);
+ virtual void setWidget(PassRefPtr<Widget>) FINAL;
virtual void viewCleared();
bool requiresAcceleratedCompositing() const;
- virtual bool needsPreferredWidthsRecalculation() const;
- virtual RenderBox* embeddedContentBox() const;
+ virtual bool needsPreferredWidthsRecalculation() const FINAL;
+ virtual RenderBox* embeddedContentBox() const FINAL;
virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
@@ -47,7 +47,7 @@ protected:
virtual bool requiresLayer() const;
private:
- virtual bool isRenderPart() const { return true; }
+ virtual bool isRenderPart() const FINAL { return true; }
virtual const char* renderName() const { return "RenderPart"; }
};

Powered by Google App Engine
This is Rietveld 408576698