Index: Source/core/rendering/RenderBlockFlow.h |
diff --git a/Source/core/rendering/RenderBlockFlow.h b/Source/core/rendering/RenderBlockFlow.h |
index f151d452cc04da6215563006740b3ff7aae8311b..14f1a3d593d7e453c16e4e3b3da5a0342c0e8503 100644 |
--- a/Source/core/rendering/RenderBlockFlow.h |
+++ b/Source/core/rendering/RenderBlockFlow.h |
@@ -197,6 +197,11 @@ public: |
TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); |
RenderMultiColumnFlowThread* multiColumnFlowThread() const { return m_rareData ? m_rareData->m_multiColumnFlowThread : 0; } |
+ void resetMultiColumnFlowThread() |
+ { |
+ if (m_rareData) |
+ m_rareData->m_multiColumnFlowThread = 0; |
+ } |
void addOverflowFromInlineChildren(); |
@@ -301,7 +306,7 @@ private: |
virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG |
- void createMultiColumnFlowThreadIfNeeded(); |
+ void createOrDestroyMultiColumnFlowThreadIfNeeded(); |
void updateLogicalWidthForAlignment(const ETextAlign&, const RootInlineBox*, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float& availableLogicalWidth, int expansionOpportunityCount); |
void checkForPaginationLogicalHeightChange(LayoutUnit& pageLogicalHeight, bool& pageLogicalHeightChanged, bool& hasSpecifiedPageLogicalHeight); |