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

Unified Diff: Source/core/rendering/svg/RenderSVGInline.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/RenderSVGInline.h
diff --git a/Source/core/rendering/svg/RenderSVGInline.h b/Source/core/rendering/svg/RenderSVGInline.h
index 43d579422561c06847b58863697cdbcce0f4fb93..ed64d716f388991caa1a0470cd3f1605fed3e00b 100644
--- a/Source/core/rendering/svg/RenderSVGInline.h
+++ b/Source/core/rendering/svg/RenderSVGInline.h
@@ -31,8 +31,7 @@ public:
virtual const char* renderName() const OVERRIDE { return "RenderSVGInline"; }
virtual LayerType layerTypeRequired() const OVERRIDE FINAL { return NoLayer; }
- virtual bool isSVGInline() const OVERRIDE FINAL { return true; }
- virtual bool isSVG() const OVERRIDE FINAL { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVG || type == RenderObjectSVGInline || RenderInline::isOfType(type); }
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698