Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698