| Index: Source/core/layout/line/InlineTextBox.cpp
|
| diff --git a/Source/core/layout/line/InlineTextBox.cpp b/Source/core/layout/line/InlineTextBox.cpp
|
| index 06c8d28ab853af70f60a9f5c727cd6360a63a6d7..a57571c4d00d022d8494ff50ec2932f9bedf557e 100644
|
| --- a/Source/core/layout/line/InlineTextBox.cpp
|
| +++ b/Source/core/layout/line/InlineTextBox.cpp
|
| @@ -95,7 +95,18 @@ void InlineTextBox::setLogicalOverflowRect(const LayoutRect& rect)
|
| ASSERT(!knownToHaveNoOverflow());
|
| if (!gTextBoxesWithOverflow)
|
| gTextBoxesWithOverflow = new InlineTextBoxOverflowMap;
|
| - gTextBoxesWithOverflow->add(this, rect);
|
| + gTextBoxesWithOverflow->set(this, rect);
|
| +}
|
| +
|
| +void InlineTextBox::move(const LayoutSize& delta)
|
| +{
|
| + InlineBox::move(delta);
|
| +
|
| + if (!knownToHaveNoOverflow()) {
|
| + LayoutRect logicalOverflowRect = this->logicalOverflowRect();
|
| + logicalOverflowRect.move(isHorizontal() ? delta : delta.transposedSize());
|
| + setLogicalOverflowRect(logicalOverflowRect);
|
| + }
|
| }
|
|
|
| int InlineTextBox::baselinePosition(FontBaseline baselineType) const
|
|
|