Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: cc/layers/layer_impl_test_properties.cc

Issue 2053983003: cc : Move LayerImpl::parent to test properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 opacity_can_animate(false),
18 num_descendants_that_draw_content(0), 18 num_descendants_that_draw_content(0),
19 num_unclipped_descendants(0), 19 num_unclipped_descendants(0),
20 opacity(1.f), 20 opacity(1.f),
21 scroll_parent(nullptr), 21 scroll_parent(nullptr),
22 clip_parent(nullptr) {} 22 clip_parent(nullptr),
23 parent(nullptr) {}
23 24
24 LayerImplTestProperties::~LayerImplTestProperties() {} 25 LayerImplTestProperties::~LayerImplTestProperties() {}
25 26
26 } // namespace cc 27 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698