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 namespace cc { | 7 namespace cc { |
8 | 8 |
9 LayerImplTestProperties::LayerImplTestProperties() | 9 LayerImplTestProperties::LayerImplTestProperties() |
10 : double_sided(true), | 10 : double_sided(true), |
11 force_render_surface(false), | 11 force_render_surface(false), |
12 is_container_for_fixed_position_layers(false), | 12 is_container_for_fixed_position_layers(false), |
13 should_flatten_transform(true), | 13 should_flatten_transform(true), |
14 hide_layer_and_subtree(false), | 14 hide_layer_and_subtree(false), |
15 num_descendants_that_draw_content(0), | 15 num_descendants_that_draw_content(0), |
16 num_unclipped_descendants(0), | 16 num_unclipped_descendants(0), |
| 17 opacity(1.f), |
17 scroll_parent(nullptr), | 18 scroll_parent(nullptr), |
18 clip_parent(nullptr) {} | 19 clip_parent(nullptr) {} |
19 | 20 |
20 LayerImplTestProperties::~LayerImplTestProperties() {} | 21 LayerImplTestProperties::~LayerImplTestProperties() {} |
21 | 22 |
22 } // namespace cc | 23 } // namespace cc |
OLD | NEW |