| Index: third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Pattern.cpp b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| index dc1c2f69d745bda3b9dc6bc64c75c52354686f21..c169fbc6a700baea5632f94460dac0b75baadd5e 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| @@ -42,12 +42,9 @@ PassRefPtr<Pattern> Pattern::CreateImagePattern(PassRefPtr<Image> tile_image,
|
| return ImagePattern::Create(std::move(tile_image), repeat_mode);
|
| }
|
|
|
| -PassRefPtr<Pattern> Pattern::CreatePaintRecordPattern(
|
| - sk_sp<PaintRecord> record,
|
| - const FloatRect& record_bounds,
|
| - RepeatMode repeat_mode) {
|
| - return PaintRecordPattern::Create(std::move(record), record_bounds,
|
| - repeat_mode);
|
| +PassRefPtr<Pattern> Pattern::CreatePaintRecordPattern(sk_sp<PaintRecord> record,
|
| + RepeatMode repeat_mode) {
|
| + return PaintRecordPattern::Create(std::move(record), repeat_mode);
|
| }
|
|
|
| Pattern::Pattern(RepeatMode repeat_mode) : repeat_mode_(repeat_mode) {}
|
|
|