Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 5c2b9c6477fc236b4955197600485444549e740e..9040e5953d0b9e5ed1290efae7b0b4e9d4a6048b 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -867,7 +867,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 |
@@ -913,7 +913,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 |