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

Unified Diff: Source/core/rendering/RenderRubyText.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/RenderRubyText.h
diff --git a/Source/core/rendering/RenderRubyText.h b/Source/core/rendering/RenderRubyText.h
index a44835986c442c406b3d30ebc2110026d48659c6..4c87656a0fbd4b376fcf1d6a0bff019ed923e40e 100644
--- a/Source/core/rendering/RenderRubyText.h
+++ b/Source/core/rendering/RenderRubyText.h
@@ -42,7 +42,7 @@ public:
virtual const char* renderName() const OVERRIDE { return "RenderRubyText"; }
- virtual bool isRubyText() const OVERRIDE { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectRubyText || RenderBlockFlow::isOfType(type); }
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698