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); |