| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index 9c1c48edb229b440204e40ab9921166e021c2a3e..ebb192b3203d7f7e29c8d392cc48e36ffad12108 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -277,7 +277,8 @@
|
| void GraphicsLayer::Paint(const IntRect* interest_rect,
|
| GraphicsContext::DisabledMode disabled_mode) {
|
| if (PaintWithoutCommit(interest_rect, disabled_mode)) {
|
| - GetPaintController().CommitNewDisplayItems();
|
| + GetPaintController().CommitNewDisplayItems(
|
| + OffsetFromLayoutObjectWithSubpixelAccumulation());
|
| if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled()) {
|
| sk_sp<PaintRecord> record = CaptureRecord();
|
| CheckPaintUnderInvalidations(record);
|
| @@ -1281,7 +1282,8 @@
|
| recorder.beginRecording(rect);
|
| recorder.getRecordingCanvas()->drawBitmap(new_bitmap, rect.X(), rect.Y());
|
| sk_sp<PaintRecord> record = recorder.finishRecordingAsPicture();
|
| - GetPaintController().AppendDebugDrawingAfterCommit(*this, record);
|
| + GetPaintController().AppendDebugDrawingAfterCommit(
|
| + *this, record, OffsetFromLayoutObjectWithSubpixelAccumulation());
|
| }
|
|
|
| } // namespace blink
|
|
|