| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 16ddc1d76c73931c38c2f60ad4975dc7d91f1a79..fe2e9580429b4a67993ceb018d336af84da816fd 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -57,7 +57,6 @@ LayerTreeImpl::LayerTreeImpl(
|
| max_page_scale_factor_(0),
|
| elastic_overscroll_(elastic_overscroll),
|
| scrolling_layer_id_from_previous_tree_(0),
|
| - contents_textures_purged_(false),
|
| viewport_size_invalid_(false),
|
| needs_update_draw_properties_(true),
|
| needs_full_tree_sync_(true),
|
| @@ -235,11 +234,6 @@ void LayerTreeImpl::PushPropertiesTo(LayerTreeImpl* target_tree) {
|
| target_tree->set_background_color(background_color());
|
| target_tree->set_has_transparent_background(has_transparent_background());
|
|
|
| - if (ContentsTexturesPurged())
|
| - target_tree->SetContentsTexturesPurged();
|
| - else
|
| - target_tree->ResetContentsTexturesPurged();
|
| -
|
| if (ViewportSizeInvalid())
|
| target_tree->SetViewportSizeInvalid();
|
| else
|
| @@ -797,24 +791,6 @@ void LayerTreeImpl::DidBecomeActive() {
|
| source_frame_number_);
|
| }
|
|
|
| -bool LayerTreeImpl::ContentsTexturesPurged() const {
|
| - return contents_textures_purged_;
|
| -}
|
| -
|
| -void LayerTreeImpl::SetContentsTexturesPurged() {
|
| - if (contents_textures_purged_)
|
| - return;
|
| - contents_textures_purged_ = true;
|
| - layer_tree_host_impl_->OnCanDrawStateChangedForTree();
|
| -}
|
| -
|
| -void LayerTreeImpl::ResetContentsTexturesPurged() {
|
| - if (!contents_textures_purged_)
|
| - return;
|
| - contents_textures_purged_ = false;
|
| - layer_tree_host_impl_->OnCanDrawStateChangedForTree();
|
| -}
|
| -
|
| bool LayerTreeImpl::RequiresHighResToDraw() const {
|
| return layer_tree_host_impl_->RequiresHighResToDraw();
|
| }
|
|
|