Index: cc/layer_iterator_unittest.cc |
diff --git a/cc/layer_iterator_unittest.cc b/cc/layer_iterator_unittest.cc |
index 0d5be646091182ae5c509da7cb4d5780b5d14912..cec920e101d83321ca753ffdcba705b919785975 100644 |
--- a/cc/layer_iterator_unittest.cc |
+++ b/cc/layer_iterator_unittest.cc |
@@ -215,7 +215,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); |