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

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: 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698