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

Unified Diff: third_party/WebKit/Source/platform/graphics/Pattern.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/Pattern.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Pattern.cpp b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
index dc1c2f69d745bda3b9dc6bc64c75c52354686f21..c169fbc6a700baea5632f94460dac0b75baadd5e 100644
--- a/third_party/WebKit/Source/platform/graphics/Pattern.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
@@ -42,12 +42,9 @@ PassRefPtr<Pattern> Pattern::CreateImagePattern(PassRefPtr<Image> tile_image,
return ImagePattern::Create(std::move(tile_image), repeat_mode);
}
-PassRefPtr<Pattern> Pattern::CreatePaintRecordPattern(
- sk_sp<PaintRecord> record,
- const FloatRect& record_bounds,
- RepeatMode repeat_mode) {
- return PaintRecordPattern::Create(std::move(record), record_bounds,
- repeat_mode);
+PassRefPtr<Pattern> Pattern::CreatePaintRecordPattern(sk_sp<PaintRecord> record,
+ RepeatMode repeat_mode) {
+ return PaintRecordPattern::Create(std::move(record), repeat_mode);
}
Pattern::Pattern(RepeatMode repeat_mode) : repeat_mode_(repeat_mode) {}

Powered by Google App Engine
This is Rietveld 408576698