| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/layers/layer_impl_test_properties.h" | 5 #include "cc/layers/layer_impl_test_properties.h" |
| 6 | 6 |
| 7 #include "cc/output/copy_output_request.h" | 7 #include "cc/output/copy_output_request.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| 11 LayerImplTestProperties::LayerImplTestProperties() | 11 LayerImplTestProperties::LayerImplTestProperties() |
| 12 : double_sided(true), | 12 : double_sided(true), |
| 13 force_render_surface(false), | 13 force_render_surface(false), |
| 14 is_container_for_fixed_position_layers(false), | 14 is_container_for_fixed_position_layers(false), |
| 15 should_flatten_transform(true), | 15 should_flatten_transform(true), |
| 16 hide_layer_and_subtree(false), | 16 hide_layer_and_subtree(false), |
| 17 opacity_can_animate(false), |
| 17 num_descendants_that_draw_content(0), | 18 num_descendants_that_draw_content(0), |
| 18 num_unclipped_descendants(0), | 19 num_unclipped_descendants(0), |
| 20 opacity(1.f), |
| 19 scroll_parent(nullptr), | 21 scroll_parent(nullptr), |
| 20 clip_parent(nullptr) {} | 22 clip_parent(nullptr) {} |
| 21 | 23 |
| 22 LayerImplTestProperties::~LayerImplTestProperties() {} | 24 LayerImplTestProperties::~LayerImplTestProperties() {} |
| 23 | 25 |
| 24 } // namespace cc | 26 } // namespace cc |
| OLD | NEW |