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

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

Issue 2893083002: cc: Move SkShader construction to a single spot in PaintShader (Closed)
Patch Set: update Created 3 years, 6 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/ImagePattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImagePattern.h b/third_party/WebKit/Source/platform/graphics/ImagePattern.h
index a9c0ffb3790dae977db9756860409d0b7757f82f..ed5218939c9384d3764631682806a7753faab216 100644
--- a/third_party/WebKit/Source/platform/graphics/ImagePattern.h
+++ b/third_party/WebKit/Source/platform/graphics/ImagePattern.h
@@ -20,7 +20,7 @@ class PLATFORM_EXPORT ImagePattern final : public Pattern {
bool IsTextureBacked() const override;
protected:
- sk_sp<PaintShader> CreateShader(const SkMatrix&) override;
+ std::unique_ptr<PaintShader> CreateShader(const SkMatrix&) override;
bool IsLocalMatrixChanged(const SkMatrix&) const override;
private:
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/graphics/ImagePattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698