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

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, 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/PaintRecordPattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
index fe3d95d6e413f76123ee3aba7272c5b4141db430..3d826a6343cc2d8bc3dc035befa56f8c584df5f8 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
@@ -21,7 +21,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>,

Powered by Google App Engine
This is Rietveld 408576698