| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index f5dda6e584e026f94f28c67fd98a67c53d866a5e..f9c3c4d43b21efc1093003e3a508e1eef09d88b3 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -88,7 +88,6 @@ LayerTreeImpl::LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl)
|
| max_page_scale_factor_(0),
|
| scrolling_layer_id_from_previous_tree_(0),
|
| contents_textures_purged_(false),
|
| - requires_high_res_to_draw_(false),
|
| viewport_size_invalid_(false),
|
| needs_update_draw_properties_(true),
|
| needs_full_tree_sync_(true),
|
| @@ -628,7 +627,7 @@ void LayerTreeImpl::DidBecomeActive() {
|
|
|
| // Always reset this flag on activation, as we would only have activated
|
| // if we were in a good state.
|
| - ResetRequiresHighResToDraw();
|
| + layer_tree_host_impl_->ResetRequiresHighResToDraw();
|
|
|
| if (root_layer())
|
| DidBecomeActiveRecursive(root_layer());
|
| @@ -655,16 +654,8 @@ void LayerTreeImpl::ResetContentsTexturesPurged() {
|
| layer_tree_host_impl_->OnCanDrawStateChangedForTree();
|
| }
|
|
|
| -void LayerTreeImpl::SetRequiresHighResToDraw() {
|
| - requires_high_res_to_draw_ = true;
|
| -}
|
| -
|
| -void LayerTreeImpl::ResetRequiresHighResToDraw() {
|
| - requires_high_res_to_draw_ = false;
|
| -}
|
| -
|
| bool LayerTreeImpl::RequiresHighResToDraw() const {
|
| - return requires_high_res_to_draw_;
|
| + return layer_tree_host_impl_->RequiresHighResToDraw();
|
| }
|
|
|
| bool LayerTreeImpl::ViewportSizeInvalid() const {
|
|
|