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

Unified Diff: Source/core/rendering/RenderMultiColumnFlowThread.h

Issue 254883003: [New Multicolumn] Faster and more direct RenderMultiColumnSet::multiColumnFlowThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 8 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/RenderMultiColumnFlowThread.h
diff --git a/Source/core/rendering/RenderMultiColumnFlowThread.h b/Source/core/rendering/RenderMultiColumnFlowThread.h
index 639c9b513baa4bf2a5a1a6197027c7b7e714fff9..d878668acba7cbfef9018b2fb0ac64f8eb9adab4 100644
--- a/Source/core/rendering/RenderMultiColumnFlowThread.h
+++ b/Source/core/rendering/RenderMultiColumnFlowThread.h
@@ -56,6 +56,11 @@ public:
static RenderMultiColumnFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
+#ifndef NDEBUG
+ // This method is only used in assertions at the moment.
+ virtual bool isRenderMultiColumnFlowThread() const OVERRIDE FINAL { return true; }
+#endif // NDEBUG
+
RenderBlockFlow* multiColumnBlockFlow() const { return toRenderBlockFlow(parent()); }
RenderMultiColumnSet* firstMultiColumnSet() const;

Powered by Google App Engine
This is Rietveld 408576698