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

Unified Diff: Source/core/rendering/RenderRubyBase.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
« no previous file with comments | « Source/core/rendering/RenderRuby.h ('k') | Source/core/rendering/RenderRubyRun.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderRubyBase.h
diff --git a/Source/core/rendering/RenderRubyBase.h b/Source/core/rendering/RenderRubyBase.h
index 04becf17a9bfda296c0a0787098e2bd19e9b5a5d..fff2380db257e67983cef574e8f212b879293453 100644
--- a/Source/core/rendering/RenderRubyBase.h
+++ b/Source/core/rendering/RenderRubyBase.h
@@ -45,7 +45,7 @@ public:
virtual const char* renderName() const override { return "RenderRubyBase (anonymous)"; }
- virtual bool isRubyBase() const override { return true; }
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRubyBase || RenderBlockFlow::isOfType(type); }
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
« no previous file with comments | « Source/core/rendering/RenderRuby.h ('k') | Source/core/rendering/RenderRubyRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698