| Index: Source/core/layout/LayoutBlock.h
|
| diff --git a/Source/core/layout/LayoutBlock.h b/Source/core/layout/LayoutBlock.h
|
| index a4393bf33b1dcf6b48f679e81dfc4e5baa120016..03a9120ca15dadc0916890353c3099580762d6ed 100644
|
| --- a/Source/core/layout/LayoutBlock.h
|
| +++ b/Source/core/layout/LayoutBlock.h
|
| @@ -206,6 +206,10 @@ public:
|
| LayoutUnit startOffsetForContent() const { return style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); }
|
| LayoutUnit endOffsetForContent() const { return !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); }
|
|
|
| + bool needsRecalcLogicalWidthAfterLayoutChildren() const { return m_needsRecalcLogicalWidthAfterLayoutChildren; }
|
| + void setNeedsRecalcLogicalWidthAfterLayoutChildren() { m_needsRecalcLogicalWidthAfterLayoutChildren = true; }
|
| + void clearNeedsRecalcLogicalWidthAfterLayoutChildren() { m_needsRecalcLogicalWidthAfterLayoutChildren = false; }
|
| +
|
| virtual LayoutUnit logicalLeftSelectionOffset(const LayoutBlock* rootBlock, LayoutUnit position) const;
|
| virtual LayoutUnit logicalRightSelectionOffset(const LayoutBlock* rootBlock, LayoutUnit position) const;
|
|
|
| @@ -418,6 +422,7 @@ protected:
|
| unsigned m_widthAvailableToChildrenChanged : 1;
|
| mutable unsigned m_hasOnlySelfCollapsingChildren : 1;
|
| mutable unsigned m_descendantsWithFloatsMarkedForLayout : 1;
|
| + mutable unsigned m_needsRecalcLogicalWidthAfterLayoutChildren : 1;
|
|
|
| // LayoutRubyBase objects need to be able to split and merge, moving their children around
|
| // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline).
|
|
|