Commit 1cb86235 authored by wkorman's avatar wkorman Committed by Commit bot

Reduce code verbosity in passing invalidation rect to cc.

BUG=529938

Review URL: https://codereview.chromium.org/1643523006

Cr-Commit-Position: refs/heads/master@{#372235}
parent e0cf3d50
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment