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

Unified Diff: Source/core/layout/LayoutMultiColumnSet.h

Issue 1282923004: Add toLayoutMultiColumnFlowThread(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/layout/LayoutMultiColumnFlowThread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMultiColumnSet.h
diff --git a/Source/core/layout/LayoutMultiColumnSet.h b/Source/core/layout/LayoutMultiColumnSet.h
index 0eecd1453b7e025f7eb2b5df004f49f61c491b0b..2f49c33d44a8b3fd1b5a2bab12e5a3006cce9cd4 100644
--- a/Source/core/layout/LayoutMultiColumnSet.h
+++ b/Source/core/layout/LayoutMultiColumnSet.h
@@ -78,11 +78,7 @@ public:
LayoutFlowThread* flowThread() const { return m_flowThread; }
LayoutBlockFlow* multiColumnBlockFlow() const { return toLayoutBlockFlow(parent()); }
- LayoutMultiColumnFlowThread* multiColumnFlowThread() const
- {
- ASSERT_WITH_SECURITY_IMPLICATION(!flowThread() || flowThread()->isLayoutMultiColumnFlowThread());
- return static_cast<LayoutMultiColumnFlowThread*>(flowThread());
- }
+ LayoutMultiColumnFlowThread* multiColumnFlowThread() const { return toLayoutMultiColumnFlowThread(flowThread()); }
LayoutMultiColumnSet* nextSiblingMultiColumnSet() const;
LayoutMultiColumnSet* previousSiblingMultiColumnSet() const;
« no previous file with comments | « Source/core/layout/LayoutMultiColumnFlowThread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698