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

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

Issue 2893083002: cc: Move SkShader construction to a single spot in PaintShader (Closed)
Patch Set: update Created 3 years, 7 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/PaintRecordPattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
index d987801d33b0663578d3dca04ae13e9e862b8049..84d6019a0449a90b68431b984d21e30405d9fbf8 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
@@ -18,7 +18,7 @@ class PLATFORM_EXPORT PaintRecordPattern final : public Pattern {
~PaintRecordPattern() override;
protected:
- sk_sp<PaintShader> CreateShader(const SkMatrix&) override;
+ std::unique_ptr<PaintShader> CreateShader(const SkMatrix&) override;
private:
PaintRecordPattern(sk_sp<PaintRecord>, RepeatMode);

Powered by Google App Engine
This is Rietveld 408576698