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 3784107908c949c3c289acc660b6fa99f4698a02..af4f776f2c1dd890d2e0c47b052a6d3e777c4207 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Pattern.h |
+++ b/third_party/WebKit/Source/platform/graphics/Pattern.h |
@@ -71,13 +71,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 |