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

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

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase better. Created 6 years, 2 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/RenderSVGTransformableContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGTransformableContainer.h b/Source/core/rendering/svg/RenderSVGTransformableContainer.h
index bd13833b3ace4d31b6d36c7d8a87d7b0b6ead46e..9ddb6927c6f187d407d815561047e7d9d80f20a3 100644
--- a/Source/core/rendering/svg/RenderSVGTransformableContainer.h
+++ b/Source/core/rendering/svg/RenderSVGTransformableContainer.h
@@ -32,7 +32,7 @@ public:
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
- virtual bool isSVGTransformableContainer() const override { return true; }
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGTransformableContainer || RenderSVGContainer::isOfType(type); }
virtual const AffineTransform& localToParentTransform() const override { return m_localTransform; }
virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
virtual bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; }
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTextPath.h ('k') | Source/core/rendering/svg/RenderSVGViewportContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698