Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index b0b3ae30fa1360a35e94e1742e35046dd8829d79..290465876ed25af18fb6329567fc6ed86a295920 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1001,9 +1001,9 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) { |
// We are calculating transform between two render surfaces. So, we |
// need to apply the surface contents scale at target and remove the |
// surface contents scale at source. |
- property_trees()->transform_tree.ComputeTransform( |
+ property_trees()->ComputeTransformToTarget( |
it->render_surface()->TransformTreeIndex(), |
- occlusion_surface->TransformTreeIndex(), &draw_transform); |
+ occlusion_surface->EffectTreeIndex(), &draw_transform); |
// We don't have to apply surface contents scale when target is root. |
if (occlusion_surface->TransformTreeIndex() != 0) { |
const EffectNode* occlusion_effect_node = |