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 2b0bdb54cbb3da23f6cfd21070b6d82c635f2e24..23eff2264fb017ec0abd479689ca39636dc29c46 100644 |
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.cpp |
@@ -28,13 +28,13 @@ PaintRecordPattern::PaintRecordPattern(sk_sp<PaintRecord> record, |
PaintRecordPattern::~PaintRecordPattern() {} |
-sk_sp<PaintShader> PaintRecordPattern::CreateShader( |
+std::unique_ptr<PaintShader> PaintRecordPattern::CreateShader( |
const SkMatrix& local_matrix) { |
SkRect tile_bounds = tile_record_->cullRect(); |
- return MakePaintShaderRecord(tile_record_, SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode, &local_matrix, |
- &tile_bounds); |
+ return WTF::MakeUnique<PaintShader>(tile_record_, SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, &local_matrix, |
+ &tile_bounds); |
} |
} // namespace blink |