| 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 690e5ac6734038642fbd035132b96015463050a8..7e4c8acb015c53a17d3b22680b4af5e3a103c4eb 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -277,8 +277,7 @@ IntRect GraphicsLayer::InterestRect() {
|
| void GraphicsLayer::Paint(const IntRect* interest_rect,
|
| GraphicsContext::DisabledMode disabled_mode) {
|
| if (PaintWithoutCommit(interest_rect, disabled_mode)) {
|
| - GetPaintController().CommitNewDisplayItems(
|
| - OffsetFromLayoutObjectWithSubpixelAccumulation());
|
| + GetPaintController().CommitNewDisplayItems();
|
| if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled()) {
|
| sk_sp<PaintRecord> record = CaptureRecord();
|
| CheckPaintUnderInvalidations(record);
|
| @@ -1287,8 +1286,7 @@ void GraphicsLayer::CheckPaintUnderInvalidations(
|
| recorder.beginRecording(rect);
|
| recorder.getRecordingCanvas()->drawBitmap(new_bitmap, rect.X(), rect.Y());
|
| sk_sp<PaintRecord> record = recorder.finishRecordingAsPicture();
|
| - GetPaintController().AppendDebugDrawingAfterCommit(
|
| - *this, record, rect, OffsetFromLayoutObjectWithSubpixelAccumulation());
|
| + GetPaintController().AppendDebugDrawingAfterCommit(*this, record, rect);
|
| }
|
|
|
| } // namespace blink
|
|
|