| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 596476081d1b175e64dcaf8246c6b47f83d837ad..757283acaf7781d862d3c3f526f234ba1cd8462c 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -721,7 +721,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
|
| Occlusion occlusion =
|
| inside_replica ? Occlusion()
|
| : occlusion_tracker.GetCurrentOcclusionForLayer(
|
| - it->draw_transform());
|
| + it->DrawTransform());
|
| it->draw_properties().occlusion_in_content_space = occlusion;
|
| }
|
|
|
| @@ -741,7 +741,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
|
| ? Occlusion()
|
| : occlusion_tracker.GetCurrentOcclusionForContributingSurface(
|
| it->render_surface()->draw_transform() *
|
| - it->draw_transform());
|
| + it->DrawTransform());
|
| mask->draw_properties().occlusion_in_content_space = mask_occlusion;
|
| }
|
| if (LayerImpl* replica = it->replica_layer()) {
|
| @@ -812,6 +812,10 @@ void LayerTreeImpl::BuildPropertyTreesForTesting() {
|
| layer_tree_host_impl_->DrawTransform(), &property_trees_);
|
| }
|
|
|
| +void LayerTreeImpl::IncrementRenderSurfaceListIdForTesting() {
|
| + render_surface_layer_list_id_++;
|
| +}
|
| +
|
| const LayerImplList& LayerTreeImpl::RenderSurfaceLayerList() const {
|
| // If this assert triggers, then the list is dirty.
|
| DCHECK(!needs_update_draw_properties_);
|
|
|