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

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: Also call multiColumnFlowThread() in favor of multicolBlock->multiColumnFlowThread() 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..3a2d865e77c5c3b152867896d6bdfda95c5ee583 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 one is only used in assertions at the moment.
rune 2014/04/30 11:00:12 "one" -> "method"?
mstensho (USE GERRIT) 2014/04/30 11:05:06 Done.
+ 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