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 c3b59885bb92e7ac6b17945dd354f9e2145a218b..1a9250f70c46e70e013d529d4450f97d59802a1d 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() {} |
-std::unique_ptr<PaintShader> PaintRecordPattern::CreateShader( |
+sk_sp<PaintShader> PaintRecordPattern::CreateShader( |
const SkMatrix& local_matrix) { |
- return PaintShader::MakePaintRecord( |
- tile_record_, tile_record_bounds_, SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode, &local_matrix); |
+ return MakePaintShaderRecord(tile_record_, tile_record_bounds_, |
+ SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, &local_matrix); |
} |
} // namespace blink |