1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/layers/draw_properties.h"
9 DrawProperties::DrawProperties()
11 screen_space_transform_is_animating(false),
12 can_use_lcd_text(false),
13 render_target(nullptr),
14 num_unclipped_descendants(0),
15 layer_or_descendant_has_copy_request(false),
16 layer_or_descendant_has_input_handler(false),
17 has_child_with_a_scroll_parent(false),
18 last_drawn_render_surface_layer_list_id(0),
19 maximum_animation_contents_scale(0.f
),
20 starting_animation_contents_scale(0.f
) {}
22 DrawProperties::~DrawProperties() {}