| 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 44f1e4b156858622dfd5e32f23cac91ae11cefa4..b5efd8f4c2ab2b5305f4b89571e55755193a9b90 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -332,9 +332,9 @@ void InspectorLayerTreeAgent::makeSnapshot(ErrorString* errorString, const Strin
|
| IntRect interestRect(IntPoint(0, 0), size);
|
| layer->paint(&interestRect);
|
|
|
| - GraphicsContext context(layer->paintController());
|
| + GraphicsContext context(layer->getPaintController());
|
| context.beginRecording(interestRect);
|
| - layer->paintController().paintArtifact().replay(context);
|
| + layer->getPaintController().paintArtifact().replay(context);
|
| RefPtr<PictureSnapshot> snapshot = adoptRef(new PictureSnapshot(context.endRecording()));
|
|
|
| *snapshotId = String::number(++s_lastSnapshotId);
|
|
|