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

Unified Diff: cc/trees/layer_tree_host_pixeltest_synchronous.cc

Issue 2678903003: cc: Clean up naming of paint-related identifiers (Closed)
Patch Set: Created 3 years, 10 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: cc/trees/layer_tree_host_pixeltest_synchronous.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_synchronous.cc b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
index 6f73e08fc64a1eac302adfe30c7d6dc1ab821cdd..16ce2cf9ea42021639e9f2541e1ff050552bd377 100644
--- a/cc/trees/layer_tree_host_pixeltest_synchronous.cc
+++ b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
@@ -35,9 +35,9 @@ TEST_F(LayerTreeHostSynchronousPixelTest, OneContentLayer) {
FakeContentLayerClient client;
client.set_bounds(bounds);
- PaintFlags green_paint;
- green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
- client.add_draw_rect(gfx::Rect(bounds), green_paint);
+ PaintFlags green_flags;
+ green_flags.setColor(SkColorSetARGB(255, 0, 255, 0));
+ client.add_draw_rect(gfx::Rect(bounds), green_flags);
scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
root->SetBounds(bounds);
root->SetIsDrawable(true);
@@ -66,9 +66,9 @@ TEST_F(LayerTreeHostSynchronousGPUPixelTest, OneContentLayer) {
FakeContentLayerClient client;
client.set_bounds(bounds);
- PaintFlags green_paint;
- green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
- client.add_draw_rect(gfx::Rect(bounds), green_paint);
+ PaintFlags green_flags;
+ green_flags.setColor(SkColorSetARGB(255, 0, 255, 0));
+ client.add_draw_rect(gfx::Rect(bounds), green_flags);
scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
root->SetBounds(bounds);
client.set_bounds(bounds);

Powered by Google App Engine
This is Rietveld 408576698