| 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 7cb99b7e9cde4c153cc3e6cd11a5392cffbeb614..6b79c135c24d8ead98c794ac86f4b864a7a553fc 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -378,8 +378,8 @@ Response InspectorLayerTreeAgent::makeSnapshot(const String& layer_id,
|
| GraphicsContext context(layer->GetPaintController());
|
| context.BeginRecording(interest_rect);
|
| layer->GetPaintController().GetPaintArtifact().Replay(interest_rect, context);
|
| - RefPtr<PictureSnapshot> snapshot = AdoptRef(
|
| - new PictureSnapshot(ToSkPicture(context.EndRecording(), interest_rect)));
|
| + RefPtr<PictureSnapshot> snapshot =
|
| + AdoptRef(new PictureSnapshot(ToSkPicture(context.EndRecording())));
|
|
|
| *snapshot_id = String::Number(++last_snapshot_id_);
|
| bool new_entry = snapshot_by_id_.insert(*snapshot_id, snapshot).is_new_entry;
|
|
|