Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h

Issue 2290903002: Change (Pass)RefPtr<SkXxx> into sk_sp<SkXxx>. (Closed)
Patch Set: Rebasing... Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
index bbc5e9ed13adb9450ea3bf008a30116115415f6a..3229bf66a129550a668ecdc1e0f8164bac598e6c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
@@ -24,6 +24,7 @@
#include "core/svg/SVGMaskElement.h"
#include "core/svg/SVGUnitTypes.h"
#include "platform/geometry/FloatRect.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class SkPicture;
@@ -50,12 +51,12 @@ public:
static const LayoutSVGResourceType s_resourceType = MaskerResourceType;
LayoutSVGResourceType resourceType() const override { return s_resourceType; }
- PassRefPtr<const SkPicture> createContentPicture(AffineTransform&, const FloatRect&, GraphicsContext&);
+ sk_sp<const SkPicture> createContentPicture(AffineTransform&, const FloatRect&, GraphicsContext&);
private:
void calculateMaskContentPaintInvalidationRect();
- RefPtr<const SkPicture> m_maskContentPicture;
+ sk_sp<const SkPicture> m_maskContentPicture;
FloatRect m_maskContentBoundaries;
};

Powered by Google App Engine
This is Rietveld 408576698