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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.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/paint/DisplayItemListTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
index 9101c181c49dfca797dfca01b9b9ca059996ddb5..a665238af058995fee5f2c243cba548656d75876 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
@@ -48,7 +48,7 @@ TEST_F(DisplayItemListTest, AppendVisualRect_Simple) {
IntRect drawing_bounds(5, 6, 7, 8);
list_.AllocateAndConstruct<DrawingDisplayItem>(
client_, DisplayItem::Type::kDocumentBackground,
- CreateRectRecord(drawing_bounds), true);
+ CreateRectRecord(drawing_bounds), drawing_bounds, true);
list_.AppendVisualRect(drawing_bounds);
EXPECT_EQ(static_cast<size_t>(1), list_.size());
@@ -64,7 +64,7 @@ TEST_F(DisplayItemListTest, AppendVisualRect_BlockContainingDrawing) {
IntRect drawing_bounds(5, 6, 1, 1);
list_.AllocateAndConstruct<DrawingDisplayItem>(
client_, DisplayItem::Type::kDocumentBackground,
- CreateRectRecord(drawing_bounds), true);
+ CreateRectRecord(drawing_bounds), drawing_bounds, true);
list_.AppendVisualRect(drawing_bounds);
EXPECT_EQ(static_cast<size_t>(1), list_.size());

Powered by Google App Engine
This is Rietveld 408576698