| 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 b052966d343c2c30ebc0bf8b6d51233a37282fcd..075d5700e37759a9e7c9b8085b0af42c5f7d0c2d 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -372,7 +372,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.insert(*snapshotId, snapshot).isNewEntry;
|
|
|