| 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 9bbbb122376cc3426ed5e492e311ba99400c9e56..119f912fc2ea589732da496d6ce7430194103a33 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
| @@ -117,12 +117,14 @@
|
| }
|
|
|
| DISABLE_CFI_PERF
|
| -void PaintArtifact::AppendToWebDisplayItemList(
|
| - const LayoutSize& visual_rect_offset,
|
| - WebDisplayItemList* list) const {
|
| +void PaintArtifact::AppendToWebDisplayItemList(WebDisplayItemList* list) const {
|
| TRACE_EVENT0("blink,benchmark", "PaintArtifact::appendToWebDisplayItemList");
|
| - for (const DisplayItem& item : display_item_list_)
|
| - item.AppendToWebDisplayItemList(visual_rect_offset, list);
|
| + size_t visual_rect_index = 0;
|
| + for (const DisplayItem& display_item : display_item_list_) {
|
| + display_item.AppendToWebDisplayItemList(
|
| + display_item_list_.VisualRect(visual_rect_index), list);
|
| + visual_rect_index++;
|
| + }
|
| list->SetIsSuitableForGpuRasterization(IsSuitableForGpuRasterization());
|
| }
|
|
|
|
|