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

Unified Diff: third_party/WebKit/Source/platform/graphics/PicturePattern.h

Issue 1779833002: Switch Blink SkShader clients to sk_sp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after MakePictureShader constness change Created 4 years, 9 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/PicturePattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/PicturePattern.h b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
index 1ae4d286bf5f3f8c9c569814fe9ffbf1781d4b31..d4266faf89456278aff72d94ff977953f61c9c00 100644
--- a/third_party/WebKit/Source/platform/graphics/PicturePattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
@@ -16,12 +16,12 @@ public:
~PicturePattern() override;
protected:
- PassRefPtr<SkShader> createShader() override;
+ sk_sp<SkShader> createShader() override;
private:
PicturePattern(PassRefPtr<const SkPicture>, RepeatMode);
- RefPtr<const SkPicture> m_tilePicture;
+ sk_sp<SkPicture> m_tilePicture;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698