| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| index dc3f54006a73233e6d35ac059c0c64431ada37fa..dfec8a877fea9133e4eacad7bdcbe4b915baf6dd 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| @@ -49,7 +49,7 @@ LayoutSVGResourceClipper::~LayoutSVGResourceClipper()
|
| void LayoutSVGResourceClipper::removeAllClientsFromCache(bool markForInvalidation)
|
| {
|
| m_clipContentPath.clear();
|
| - m_clipContentPicture.clear();
|
| + m_clipContentPicture.reset();
|
| m_localClipBounds = FloatRect();
|
| markAllClientsForInvalidation(markForInvalidation ? LayoutAndBoundariesInvalidation : ParentOnlyInvalidation);
|
| }
|
| @@ -158,7 +158,7 @@ bool LayoutSVGResourceClipper::asPath(const AffineTransform& animatedLocalTransf
|
| return true;
|
| }
|
|
|
| -PassRefPtr<const SkPicture> LayoutSVGResourceClipper::createContentPicture()
|
| +sk_sp<const SkPicture> LayoutSVGResourceClipper::createContentPicture()
|
| {
|
| ASSERT(frame());
|
| if (m_clipContentPicture)
|
|
|