| 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 0fe5af40d0854f6bae208d40c5a948a41564607e..9f200f95cc7bc9b53884bf5c03928483be436c67 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -373,7 +373,7 @@ Response InspectorLayerTreeAgent::makeSnapshot(const String& layerId,
|
| context.beginRecording(interestRect);
|
| layer->getPaintController().paintArtifact().replay(context);
|
| RefPtr<PictureSnapshot> snapshot =
|
| - adoptRef(new PictureSnapshot(context.endRecording()));
|
| + adoptRef(new PictureSnapshot(ToSkPicture(context.endRecording())));
|
|
|
| *snapshotId = String::number(++s_lastSnapshotId);
|
| bool newEntry = m_snapshotById.add(*snapshotId, snapshot).isNewEntry;
|
|
|