| Index: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| index 87f7f5e1e8b93ef7e35b5527f772185e087ed91a..b2fed1c59e59c1519065cb29513b62d1126ad1d1 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| @@ -96,10 +96,8 @@ void PaintArtifact::appendToWebDisplayItemList(WebDisplayItemList* list) const
|
| #if ENABLE(ASSERT)
|
| m_displayItemList.assertDisplayItemClientsAreAlive();
|
| #endif
|
| - for (const DisplayItem& displayItem : m_displayItemList) {
|
| - IntRect visualRect = displayItem.client().visualRect();
|
| - displayItem.appendToWebDisplayItemList(visualRect, list);
|
| - }
|
| + for (const DisplayItem& displayItem : m_displayItemList)
|
| + displayItem.appendToWebDisplayItemList(displayItem.client().visualRect(), list);
|
| }
|
|
|
| } // namespace blink
|
|
|