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

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

Issue 2894843002: Revert of Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: rebase TestExpectations 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 f4bb7ec30cc3cf7eb7d6f3078c3fe69594cede46..be2a1d1525ceb304ff6628014244171ae1a12fbe 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(), tile_rect,
- tmx, tmy, &shader_matrix);
+ return MakePaintShaderRecord(recorder.finishRecordingAsPicture(), tmx, tmy,
+ &shader_matrix, nullptr);
}
SkShader::TileMode ComputeTileMode(float left,

Powered by Google App Engine
This is Rietveld 408576698