| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| index 3355c67b8d54ea7e6f8f419948a7e1d2ec86f4cb..563591c7ed6ab3c377c0b381711440768132951e 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| @@ -40,7 +40,7 @@ LayoutSVGResourceMasker::~LayoutSVGResourceMasker()
|
|
|
| void LayoutSVGResourceMasker::removeAllClientsFromCache(bool markForInvalidation)
|
| {
|
| - m_maskContentPicture.clear();
|
| + m_maskContentPicture.reset();
|
| m_maskContentBoundaries = FloatRect();
|
| markAllClientsForInvalidation(markForInvalidation ? LayoutAndBoundariesInvalidation : ParentOnlyInvalidation);
|
| }
|
| @@ -51,7 +51,7 @@ void LayoutSVGResourceMasker::removeClientFromCache(LayoutObject* client, bool m
|
| markClientForInvalidation(client, markForInvalidation ? BoundariesInvalidation : ParentOnlyInvalidation);
|
| }
|
|
|
| -PassRefPtr<const SkPicture> LayoutSVGResourceMasker::createContentPicture(AffineTransform& contentTransformation, const FloatRect& targetBoundingBox,
|
| +sk_sp<const SkPicture> LayoutSVGResourceMasker::createContentPicture(AffineTransform& contentTransformation, const FloatRect& targetBoundingBox,
|
| GraphicsContext& context)
|
| {
|
| SVGUnitTypes::SVGUnitType contentUnits = toSVGMaskElement(element())->maskContentUnits()->currentValue()->enumValue();
|
|
|