| 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 e8d657480b168e2f29a20dfed11015e7cee31394..f722b60ef29cc548cb2d7e951605e5f184522b65 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -1179,11 +1179,11 @@ sk_sp<PaintRecord> GraphicsLayer::captureRecord() {
|
| if (!drawsContent())
|
| return nullptr;
|
|
|
| - IntSize intSize = expandedIntSize(size());
|
| + FloatRect bounds(IntRect(IntPoint(0, 0), expandedIntSize(size())));
|
| GraphicsContext graphicsContext(getPaintController(),
|
| GraphicsContext::NothingDisabled, nullptr);
|
| - graphicsContext.beginRecording(IntRect(IntPoint(0, 0), intSize));
|
| - getPaintController().paintArtifact().replay(graphicsContext);
|
| + graphicsContext.beginRecording(bounds);
|
| + getPaintController().paintArtifact().replay(bounds, graphicsContext);
|
| return graphicsContext.endRecording();
|
| }
|
|
|
|
|