| 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 7a74cd77b9b53809b7c27d04914bf85e81cbe8c4..3ab5556ec6efbbb4c4122ae25e96ae48bf6186f8 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)
|
|
|