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

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

Issue 2018833002: cc : Delete LayerImpl::opacity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « cc/layers/layer_impl_test_properties.h ('k') | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
OLDNEW
« no previous file with comments | « cc/layers/layer_impl_test_properties.h ('k') | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698