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

Unified Diff: cc/paint/display_item_list_unittest.cc

Issue 2881213002: cc: Remove deprecated DisplayItemList::Raster overload. (Closed)
Patch Set: update 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
« no previous file with comments | « cc/paint/display_item_list.cc ('k') | cc/paint/paint_op_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/display_item_list_unittest.cc
diff --git a/cc/paint/display_item_list_unittest.cc b/cc/paint/display_item_list_unittest.cc
index b166229c6624607acc70823604748d344496fa65..519768800c0dc89ab66157f37eb939475bc462a7 100644
--- a/cc/paint/display_item_list_unittest.cc
+++ b/cc/paint/display_item_list_unittest.cc
@@ -732,7 +732,7 @@ TEST(DisplayItemListTest, SaveDrawRestore) {
list->Finalize();
SaveCountingCanvas canvas;
- list->Raster(&canvas, nullptr);
+ list->Raster(&canvas);
EXPECT_EQ(0, canvas.save_count_);
EXPECT_EQ(0, canvas.restore_count_);
@@ -761,7 +761,7 @@ TEST(DisplayItemListTest, SaveRestoreNoops) {
list->Finalize();
SaveCountingCanvas canvas;
- list->Raster(&canvas, nullptr);
+ list->Raster(&canvas);
EXPECT_EQ(0, canvas.save_count_);
EXPECT_EQ(0, canvas.restore_count_);
@@ -782,7 +782,7 @@ TEST(DisplayItemListTest, SaveDrawRestoreFail_BadSaveFlags) {
list->Finalize();
SaveCountingCanvas canvas;
- list->Raster(&canvas, nullptr);
+ list->Raster(&canvas);
EXPECT_EQ(1, canvas.save_count_);
EXPECT_EQ(1, canvas.restore_count_);
@@ -816,7 +816,7 @@ TEST(DisplayItemListTest, SaveDrawRestoreFail_TooManyOps) {
list->Finalize();
SaveCountingCanvas canvas;
- list->Raster(&canvas, nullptr);
+ list->Raster(&canvas);
EXPECT_EQ(1, canvas.save_count_);
EXPECT_EQ(1, canvas.restore_count_);
« no previous file with comments | « cc/paint/display_item_list.cc ('k') | cc/paint/paint_op_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698