| Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| index 0c6dbef0d0db5010ff49a96711f4de95dc5b3ea6..40efc797ed1fdbca9d147db27276b4b2aaafcdf6 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -372,7 +372,11 @@ Response InspectorLayerTreeAgent::makeSnapshot(const String& layerId,
|
|
|
| GraphicsContext context(layer->getPaintController());
|
| context.beginRecording(interestRect);
|
| - layer->getPaintController().paintArtifact().replay(context);
|
| + layer->getPaintController().paintArtifact().replay(
|
| + interestRect, context,
|
| + layer->getPaintController()
|
| + .currentPaintChunkProperties()
|
| + .propertyTreeState);
|
| RefPtr<PictureSnapshot> snapshot =
|
| adoptRef(new PictureSnapshot(ToSkPicture(context.endRecording())));
|
|
|
|
|