Index: third_party/WebKit/Source/platform/graphics/Pattern.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Pattern.h b/third_party/WebKit/Source/platform/graphics/Pattern.h |
index 1db8d22bed04bc1525b799d300cfb2fa74beeaf5..f939b5ee16a7407e28d02d8f02296e7cdc35aa01 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Pattern.h |
+++ b/third_party/WebKit/Source/platform/graphics/Pattern.h |
@@ -72,13 +72,13 @@ class PLATFORM_EXPORT Pattern : public RefCounted<Pattern> { |
virtual bool IsTextureBacked() const { return false; } |
protected: |
- virtual sk_sp<PaintShader> CreateShader(const SkMatrix&) = 0; |
+ virtual std::unique_ptr<PaintShader> CreateShader(const SkMatrix&) = 0; |
virtual bool IsLocalMatrixChanged(const SkMatrix&) const; |
RepeatMode repeat_mode_; |
Pattern(RepeatMode); |
- mutable sk_sp<PaintShader> cached_shader_; |
+ mutable std::unique_ptr<PaintShader> cached_shader_; |
}; |
} // namespace blink |