Index: third_party/WebKit/Source/platform/graphics/Image.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp |
index be2a1d1525ceb304ff6628014244171ae1a12fbe..f4bb7ec30cc3cf7eb7d6f3078c3fe69594cede46 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Image.cpp |
@@ -246,8 +246,8 @@ sk_sp<PaintShader> CreatePatternShader(const PaintImage& image, |
PaintCanvas* canvas = recorder.beginRecording(tile_rect); |
canvas->drawImage(image, 0, 0, &paint); |
- return MakePaintShaderRecord(recorder.finishRecordingAsPicture(), tmx, tmy, |
- &shader_matrix, nullptr); |
+ return MakePaintShaderRecord(recorder.finishRecordingAsPicture(), tile_rect, |
+ tmx, tmy, &shader_matrix); |
} |
SkShader::TileMode ComputeTileMode(float left, |