| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 465c9cc1df69dafe34245a917bc45014a5835255..23beaac4d7f20e946837af38d8f9259bf2e3fd23 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -92,12 +92,14 @@ LayerTreeImpl::LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl)
|
| min_page_scale_factor_(0),
|
| max_page_scale_factor_(0),
|
| scrolling_layer_id_from_previous_tree_(0),
|
| + use_gpu_rasterization_(false),
|
| contents_textures_purged_(false),
|
| requires_high_res_to_draw_(false),
|
| viewport_size_invalid_(false),
|
| needs_update_draw_properties_(true),
|
| needs_full_tree_sync_(true),
|
| - next_activation_forces_redraw_(false) {}
|
| + next_activation_forces_redraw_(false) {
|
| +}
|
|
|
| LayerTreeImpl::~LayerTreeImpl() {
|
| // Need to explicitly clear the tree prior to destroying this so that
|
| @@ -218,6 +220,8 @@ void LayerTreeImpl::PushPropertiesTo(LayerTreeImpl* target_tree) {
|
| target_tree->set_background_color(background_color());
|
| target_tree->set_has_transparent_background(has_transparent_background());
|
|
|
| + target_tree->set_use_gpu_rasterization(use_gpu_rasterization());
|
| +
|
| if (ContentsTexturesPurged())
|
| target_tree->SetContentsTexturesPurged();
|
| else
|
|
|