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

Unified Diff: Source/core/rendering/RenderMultiColumnSet.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/RenderMultiColumnSet.h
diff --git a/Source/core/rendering/RenderMultiColumnSet.h b/Source/core/rendering/RenderMultiColumnSet.h
index c09e482d166a8f0c834eb36c2c0a78627c40c0c9..ca57cbdbff95d771a09b1f2ddd0676c175156b26 100644
--- a/Source/core/rendering/RenderMultiColumnSet.h
+++ b/Source/core/rendering/RenderMultiColumnSet.h
@@ -56,7 +56,7 @@ public:
static RenderMultiColumnSet* createAnonymous(RenderFlowThread*, RenderStyle* parentStyle);
- virtual bool isRenderMultiColumnSet() const OVERRIDE { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectRenderMultiColumnSet || RenderRegion::isOfType(type); }
virtual LayoutUnit pageLogicalWidth() const OVERRIDE FINAL { return flowThread()->logicalWidth(); }
virtual LayoutUnit pageLogicalHeight() const OVERRIDE FINAL { return m_columnHeight; }

Powered by Google App Engine
This is Rietveld 408576698