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

Unified Diff: Source/core/rendering/RenderMedia.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/RenderMedia.h
diff --git a/Source/core/rendering/RenderMedia.h b/Source/core/rendering/RenderMedia.h
index 48b852edf1e4da5b002b26147e069a1abbe80dcc..05bc5271fc087c78f36cef10a7eafe8d73e10443 100644
--- a/Source/core/rendering/RenderMedia.h
+++ b/Source/core/rendering/RenderMedia.h
@@ -52,16 +52,16 @@ protected:
virtual void layout();
private:
- virtual RenderObjectChildList* virtualChildren() { return children(); }
- virtual const RenderObjectChildList* virtualChildren() const { return children(); }
- virtual bool canHaveChildren() const { return true; }
+ virtual RenderObjectChildList* virtualChildren() FINAL { return children(); }
+ virtual const RenderObjectChildList* virtualChildren() const FINAL { return children(); }
+ virtual bool canHaveChildren() const FINAL { return true; }
virtual const char* renderName() const { return "RenderMedia"; }
- virtual bool isMedia() const { return true; }
- virtual bool isImage() const { return false; }
+ virtual bool isMedia() const FINAL { return true; }
+ virtual bool isImage() const FINAL { return false; }
virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
- virtual bool requiresForcedStyleRecalcPropagation() const { return true; }
+ virtual bool requiresForcedStyleRecalcPropagation() const FINAL { return true; }
RenderObjectChildList m_children;
};

Powered by Google App Engine
This is Rietveld 408576698