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

Unified Diff: third_party/WebKit/Source/platform/testing/TestPaintArtifact.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/testing/TestPaintArtifact.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
index 49a30bc9c025695efa40b016dffad826f4ce9a01..c7bb1a36d7d3a700d2615a2c210b08d911be40bd 100644
--- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
@@ -73,7 +73,7 @@ TestPaintArtifact& TestPaintArtifact::RectDrawing(const FloatRect& bounds,
std::unique_ptr<DummyRectClient> client =
WTF::MakeUnique<DummyRectClient>(bounds, color);
display_item_list_.AllocateAndConstruct<DrawingDisplayItem>(
- *client, DisplayItem::kDrawingFirst, client->MakeRecord());
+ *client, DisplayItem::kDrawingFirst, client->MakeRecord(), bounds);
dummy_clients_.push_back(std::move(client));
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698