| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index a95334c4641afdfbdad83a6da2c60e3f72df8c38..5dec2fd3e73ca24938b89ced6f67f4ef5a3f7deb 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -936,7 +936,7 @@ void GraphicsLayer::setDrawsContent(bool drawsContent)
|
| updateLayerIsDrawable();
|
|
|
| if (!drawsContent && m_paintController)
|
| - m_paintController.clear();
|
| + m_paintController.reset();
|
| }
|
|
|
| void GraphicsLayer::setContentsVisible(bool contentsVisible)
|
| @@ -1114,7 +1114,7 @@ void GraphicsLayer::setContentsToImage(Image* image, RespectImageOrientationEnum
|
| } else {
|
| if (m_imageLayer) {
|
| unregisterContentsLayer(m_imageLayer->layer());
|
| - m_imageLayer.clear();
|
| + m_imageLayer.reset();
|
| }
|
| }
|
|
|
|
|