Index: third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
index 1a9250f70c46e70e013d529d4450f97d59802a1d..a9e2d4e883450b74182124ca35ffdc5cc6774e1b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
@@ -33,11 +33,11 @@ PaintRecordPattern::PaintRecordPattern(sk_sp<PaintRecord> record, |
PaintRecordPattern::~PaintRecordPattern() {} |
-sk_sp<PaintShader> PaintRecordPattern::CreateShader( |
+std::unique_ptr<PaintShader> PaintRecordPattern::CreateShader( |
const SkMatrix& local_matrix) { |
- return MakePaintShaderRecord(tile_record_, tile_record_bounds_, |
- SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode, &local_matrix); |
+ return WTF::MakeUnique<PaintShader>( |
+ tile_record_, tile_record_bounds_, SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, &local_matrix); |
} |
} // namespace blink |