| Index: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| index 602a906210eddcf20518201ec683b570ff4233bb..60c052cecd98d0d761d2d31992c41c6d1f05d05f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| @@ -19,10 +19,12 @@ void DrawingDisplayItem::Replay(GraphicsContext& context) const {
|
| }
|
|
|
| void DrawingDisplayItem::AppendToWebDisplayItemList(
|
| - const IntRect& visual_rect,
|
| + const LayoutSize& visual_rect_offset,
|
| WebDisplayItemList* list) const {
|
| if (record_) {
|
| - list->AppendDrawingItem(visual_rect, record_,
|
| + LayoutRect visual_rect = VisualRect();
|
| + visual_rect.Move(-visual_rect_offset);
|
| + list->AppendDrawingItem(EnclosingIntRect(visual_rect), record_,
|
| EnclosingIntRect(record_bounds_));
|
| }
|
| }
|
|
|