Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 5525263d385696fbb63b68bc73b9100a0c80ee38..aba08539075b9991b311b40750658bd9dbf15009 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -860,7 +860,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) { |
it != end; ++it) { |
occlusion_tracker.EnterLayer(it); |
- bool inside_replica = it->render_target()->InsideReplica(); |
+ bool inside_replica = it->InsideReplica(); |
// Don't use occlusion if a layer will appear in a replica, since the |
// tile raster code does not know how to look for the replica and would |
@@ -906,7 +906,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) { |
} |
unoccluded_screen_space_region_ = |
- occlusion_tracker.ComputeVisibleRegionInScreen(); |
+ occlusion_tracker.ComputeVisibleRegionInScreen(this); |
} |
// It'd be ideal if this could be done earlier, but when the raster source |