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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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/test/solid_color_content_layer_client.cc ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_unittest.cc
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc
index b657339e72acb3e9fb4b07957fc0480fd32b2214..d1346be3ab0957b1cd397597ac50f098e689bb93 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -1423,7 +1423,7 @@ TEST_F(TileManagerTilePriorityQueueTest, NoRasterTasksforSolidColorTiles) {
std::unique_ptr<FakeRecordingSource> recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
- SkPaint solid_paint;
+ PaintFlags solid_paint;
SkColor solid_color = SkColorSetARGB(255, 12, 23, 34);
solid_paint.setColor(solid_color);
recording_source->add_draw_rect_with_paint(gfx::Rect(layer_bounds),
@@ -1431,7 +1431,7 @@ TEST_F(TileManagerTilePriorityQueueTest, NoRasterTasksforSolidColorTiles) {
// Create non solid tile as well, otherwise tilings wouldnt be created.
SkColor non_solid_color = SkColorSetARGB(128, 45, 56, 67);
- SkPaint non_solid_paint;
+ PaintFlags non_solid_paint;
non_solid_paint.setColor(non_solid_color);
recording_source->add_draw_rect_with_paint(gfx::Rect(0, 0, 10, 10),
@@ -1636,7 +1636,7 @@ TEST_F(TileManagerTest, LowResHasNoImage) {
recording_source->SetBackgroundColor(SK_ColorTRANSPARENT);
recording_source->SetRequiresClear(true);
recording_source->SetClearCanvasWithDebugColor(false);
- SkPaint paint;
+ PaintFlags paint;
paint.setColor(SK_ColorGREEN);
recording_source->add_draw_rect_with_paint(gfx::Rect(size), paint);
recording_source->add_draw_image(std::move(blue_image), gfx::Point());
@@ -1728,7 +1728,7 @@ TEST_F(ActivationTasksDoNotBlockReadyToDrawTest,
std::unique_ptr<FakeRecordingSource> active_tree_recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
- SkPaint solid_paint;
+ PaintFlags solid_paint;
SkColor solid_color = SkColorSetARGB(255, 12, 23, 34);
solid_paint.setColor(solid_color);
active_tree_recording_source->add_draw_rect_with_paint(
@@ -1740,7 +1740,7 @@ TEST_F(ActivationTasksDoNotBlockReadyToDrawTest,
std::unique_ptr<FakeRecordingSource> pending_tree_recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
SkColor non_solid_color = SkColorSetARGB(128, 45, 56, 67);
- SkPaint non_solid_paint;
+ PaintFlags non_solid_paint;
non_solid_paint.setColor(non_solid_color);
pending_tree_recording_source->add_draw_rect_with_paint(
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698