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

Unified Diff: Source/core/rendering/svg/RenderSVGTextPath.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/RenderSVGTextPath.h
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.h b/Source/core/rendering/svg/RenderSVGTextPath.h
index 163b9903c5f9abe23d8aaa3600d528b20fcd107e..783a87b08bb704a8e0ca016c3591da340153ce65 100644
--- a/Source/core/rendering/svg/RenderSVGTextPath.h
+++ b/Source/core/rendering/svg/RenderSVGTextPath.h
@@ -34,7 +34,7 @@ public:
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
- virtual bool isSVGTextPath() const override { return true; }
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGTextPath || RenderSVGInline::isOfType(type); }
private:
virtual const char* renderName() const override { return "RenderSVGTextPath"; }
« no previous file with comments | « Source/core/rendering/svg/RenderSVGText.h ('k') | Source/core/rendering/svg/RenderSVGTransformableContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698