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

Unified Diff: cc/trees/layer_tree_host_pixeltest_synchronous.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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/trees/layer_tree_host_pixeltest_readback.cc ('k') | cc/trees/layer_tree_host_pixeltest_tiles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dbddedf686c9d82edd1f30825f200e6940188835..55619064a22811a1acc653cc3374db1d0e8b9257 100644
--- a/cc/trees/layer_tree_host_pixeltest_synchronous.cc
+++ b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
@@ -38,8 +38,7 @@ TEST_F(LayerTreeHostSynchronousPixelTest, OneContentLayer) {
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
client.add_draw_rect(gfx::Rect(bounds), green_paint);
- scoped_refptr<PictureLayer> root =
- PictureLayer::Create(layer_settings(), &client);
+ scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
root->SetBounds(bounds);
root->SetIsDrawable(true);
@@ -70,8 +69,7 @@ TEST_F(LayerTreeHostSynchronousGPUPixelTest, OneContentLayer) {
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
client.add_draw_rect(gfx::Rect(bounds), green_paint);
- scoped_refptr<PictureLayer> root =
- PictureLayer::Create(layer_settings(), &client);
+ scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
root->SetBounds(bounds);
client.set_bounds(bounds);
root->SetIsDrawable(true);
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_readback.cc ('k') | cc/trees/layer_tree_host_pixeltest_tiles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698