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

Unified Diff: Source/core/rendering/svg/RenderSVGModelObject.h

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: RenderObject: Cut down vtbls a bit Created 6 years, 3 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/svg/RenderSVGModelObject.h
diff --git a/Source/core/rendering/svg/RenderSVGModelObject.h b/Source/core/rendering/svg/RenderSVGModelObject.h
index 083983ab3c2295d5c08ff72ac453f18f549e5c73..14f165cabdda00c00e27185bcf1c599599f6e1a1 100644
--- a/Source/core/rendering/svg/RenderSVGModelObject.h
+++ b/Source/core/rendering/svg/RenderSVGModelObject.h
@@ -65,7 +65,7 @@ public:
SVGElement* element() const { return toSVGElement(RenderObject::node()); }
- virtual bool isSVG() const OVERRIDE FINAL { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVG || RenderObject::isOfType(type); }
protected:
virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* currentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698