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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.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/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,

Powered by Google App Engine
This is Rietveld 408576698