Index: third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp |
index befad952dee625c47dea1d80dbe604438ab2d6c8..d3dc986df95de304678713715d18aa4ea3ba6cf0 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp |
@@ -59,7 +59,7 @@ void GeneratedImage::DrawPattern(GraphicsContext& dest_context, |
pattern_matrix.preTranslate(tile_rect.X(), tile_rect.Y()); |
RefPtr<Pattern> pattern = |
- Pattern::CreatePaintRecordPattern(std::move(record)); |
+ Pattern::CreatePaintRecordPattern(std::move(record), tile_rect); |
PaintFlags fill_flags = dest_context.FillFlags(); |
pattern->ApplyToFlags(fill_flags, pattern_matrix); |