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

Unified Diff: cc/trees/layer_tree_host_pixeltest_synchronous.cc

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/trees/layer_tree_host_pixeltest_readback.cc ('k') | cc/trees/layer_tree_host_unittest.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 46591e54c5a3019a0dcf22b9f1b389ecc2f58c13..f61703f7cf605c88fed0c368ab847fea442e4da8 100644
--- a/cc/trees/layer_tree_host_pixeltest_synchronous.cc
+++ b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
@@ -37,7 +37,8 @@ TEST_F(LayerTreeHostSynchronousPixelTest, OneContentLayer) {
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
client.add_draw_rect(gfx::RectF(bounds), green_paint);
- scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
+ scoped_refptr<PictureLayer> root =
+ PictureLayer::Create(layer_settings(), &client);
root->SetBounds(bounds);
root->SetIsDrawable(true);
@@ -67,7 +68,8 @@ TEST_F(LayerTreeHostSynchronousGPUPixelTest, OneContentLayer) {
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
client.add_draw_rect(gfx::RectF(bounds), green_paint);
- scoped_refptr<PictureLayer> root = PictureLayer::Create(&client);
+ scoped_refptr<PictureLayer> root =
+ PictureLayer::Create(layer_settings(), &client);
root->SetBounds(bounds);
root->SetIsDrawable(true);
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_readback.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698