| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index 2769ce4aa7677d610b11012db7e306298b7010f8..e319775342ca8acd1709c80fa65b922d5f3ac89a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -2065,4 +2065,19 @@ LayoutUnit LayoutBlockFlow::startAlignedOffsetForLine(LayoutUnit position, bool
|
| return logicalLeft;
|
| }
|
|
|
| +static void invalidateDisplayItemClientsOfInlineBoxRecursively(LayoutBlockFlow* flow, InlineBox& box)
|
| +{
|
| + flow->invalidateDisplayItemClient(box);
|
| + if (!box.isInlineFlowBox())
|
| + return;
|
| + for (InlineBox* curr = toInlineFlowBox(box).firstChild(); curr; curr = curr->nextOnLine())
|
| + invalidateDisplayItemClientsOfInlineBoxRecursively(flow, *curr);
|
| +}
|
| +
|
| +void LayoutBlockFlow::invalidateDisplayItemClientsOfFirstLine()
|
| +{
|
| + if (RootInlineBox* firstRootBox = this->firstRootBox())
|
| + invalidateDisplayItemClientsOfInlineBoxRecursively(this, *firstRootBox);
|
| +}
|
| +
|
| }
|
|
|