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

Unified Diff: cc/layer_iterator_unittest.cc

Issue 11316171: Don't create render passes for transparent images. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 1 month 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/layer_impl.cc ('k') | cc/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_iterator_unittest.cc
diff --git a/cc/layer_iterator_unittest.cc b/cc/layer_iterator_unittest.cc
index cdcbec18d42c43c1fb44b6e829bdb76a59f66d39..1dfe9b23d01a1d61ccdfc05e0463a17f046cc8ab 100644
--- a/cc/layer_iterator_unittest.cc
+++ b/cc/layer_iterator_unittest.cc
@@ -214,7 +214,8 @@ TEST(LayerIteratorTest, complexTreeMultiSurface)
rootLayer->addChild(root2);
rootLayer->addChild(root3);
root2->setDrawsContent(false);
- root2->setOpacity(0.5); // Force the layer to own a new surface.
+ root2->setOpacity(0.5);
+ root2->setForceRenderSurface(true); // Force the layer to own a new surface.
root2->addChild(root21);
root2->addChild(root22);
root2->addChild(root23);
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698