| 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 ac1c32561660743c08256d10c4afad55f42df0ab..dda68928a25e7c4013b2d333696f82c3f2bde554 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -1179,11 +1179,12 @@ 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,
|
| + PropertyTreeState::root());
|
| return graphicsContext.endRecording();
|
| }
|
|
|
|
|