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

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

Issue 1789063005: Add sk_sp helpers and switch Blink SkShader clients to the new APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fromSkSp, review comments 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..5e6069b654799938c13ca2670e67de914421cd10 100644
--- a/third_party/WebKit/Source/platform/graphics/PicturePattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
@@ -11,7 +11,7 @@ namespace blink {
class PLATFORM_EXPORT PicturePattern final : public Pattern {
public:
- static PassRefPtr<PicturePattern> create(PassRefPtr<const SkPicture>, RepeatMode);
+ static PassRefPtr<PicturePattern> create(PassRefPtr<SkPicture>, RepeatMode);
~PicturePattern() override;
@@ -19,9 +19,9 @@ protected:
PassRefPtr<SkShader> createShader() override;
private:
- PicturePattern(PassRefPtr<const SkPicture>, RepeatMode);
+ PicturePattern(PassRefPtr<SkPicture>, RepeatMode);
- RefPtr<const SkPicture> m_tilePicture;
+ RefPtr<SkPicture> m_tilePicture;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698