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

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

Issue 2928703005: Revert of cc: Move SkShader construction to a single spot in PaintShader (Closed)
Patch Set: 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 3d826a6343cc2d8bc3dc035befa56f8c584df5f8..fe3d95d6e413f76123ee3aba7272c5b4141db430 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
@@ -21,7 +21,7 @@
~PaintRecordPattern() override;
protected:
- std::unique_ptr<PaintShader> CreateShader(const SkMatrix&) override;
+ sk_sp<PaintShader> CreateShader(const SkMatrix&) override;
private:
PaintRecordPattern(sk_sp<PaintRecord>,

Powered by Google App Engine
This is Rietveld 408576698