| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 290465876ed25af18fb6329567fc6ed86a295920..7c4adcb879f5bd13328f7b82960ce302d76303c6 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1005,7 +1005,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
|
| it->render_surface()->TransformTreeIndex(),
|
| occlusion_surface->EffectTreeIndex(), &draw_transform);
|
| // We don't have to apply surface contents scale when target is root.
|
| - if (occlusion_surface->TransformTreeIndex() != 0) {
|
| + if (occlusion_surface->EffectTreeIndex() != 1) {
|
| const EffectNode* occlusion_effect_node =
|
| property_trees()->effect_tree.Node(
|
| occlusion_surface->EffectTreeIndex());
|
|
|