| 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 bf9f72127c895d23b4a5860c7a1f7f65c1efe7b0..8da31e8a8465e9435dfddd50d3a2ab329d501e3f 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -326,7 +326,8 @@ void InspectorLayerTreeAgent::makeSnapshot(ErrorString* errorString, const Strin
|
| IntSize size = expandedIntSize(layer->size());
|
|
|
| SkPictureBuilder pictureBuilder(FloatRect(0, 0, size.width(), size.height()));
|
| - layer->paint(pictureBuilder.context(), IntRect(IntPoint(0, 0), size));
|
| + IntRect interestRect(IntPoint(0, 0), size);
|
| + layer->paint(pictureBuilder.context(), &interestRect);
|
|
|
| RefPtr<PictureSnapshot> snapshot = adoptRef(new PictureSnapshot(pictureBuilder.endRecording()));
|
|
|
|
|