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

Unified Diff: third_party/WebKit/Source/platform/graphics/Pattern.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/platform/graphics/Pattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/Pattern.h b/third_party/WebKit/Source/platform/graphics/Pattern.h
index eac2ce9f5aec14d9f3d4233a291eb9d35800b690..acff69ed3796f8fa6395c660aacace6273d9e5ef 100644
--- a/third_party/WebKit/Source/platform/graphics/Pattern.h
+++ b/third_party/WebKit/Source/platform/graphics/Pattern.h
@@ -55,7 +55,7 @@ public:
};
static PassRefPtr<Pattern> createImagePattern(PassRefPtr<Image>, RepeatMode = RepeatModeXY);
- static PassRefPtr<Pattern> createPicturePattern(PassRefPtr<SkPicture>,
+ static PassRefPtr<Pattern> createPicturePattern(sk_sp<SkPicture>,
RepeatMode = RepeatModeXY);
virtual ~Pattern();

Powered by Google App Engine
This is Rietveld 408576698