diff options
author | ajuma <ajuma@chromium.org> | 2016-03-24 10:42:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 17:44:36 +0000 |
commit | 81e6fd7cf6c713b4a730254db6aae0721d7b5e28 (patch) | |
tree | 74ea7b0833b47e1b7dc95a999d0d9e5955e48072 /cc/trees/layer_tree_host_common.cc | |
parent | 6bf70fab1fb0d91d082f42976c990909b6a83bdd (diff) | |
download | chromium_src-81e6fd7cf6c713b4a730254db6aae0721d7b5e28.zip chromium_src-81e6fd7cf6c713b4a730254db6aae0721d7b5e28.tar.gz chromium_src-81e6fd7cf6c713b4a730254db6aae0721d7b5e28.tar.bz2 |
cc: Remove more code that was only used by CDP
This removes a draw property and some setters/getters on Layer
and LayerImpl that were only used by CDP.
BUG=497821
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1829053002
Cr-Commit-Position: refs/heads/master@{#383091}
Diffstat (limited to 'cc/trees/layer_tree_host_common.cc')
-rw-r--r-- | cc/trees/layer_tree_host_common.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc index 143969b..01875e9 100644 --- a/cc/trees/layer_tree_host_common.cc +++ b/cc/trees/layer_tree_host_common.cc @@ -488,10 +488,6 @@ static void PreCalculateMetaInformationInternal( return; } - layer->set_sorted_for_recursion(false); - layer->set_layer_or_descendant_is_drawn(false); - layer->set_visited(false); - if (layer->clip_parent()) recursive_data->num_unclipped_descendants++; @@ -531,11 +527,6 @@ static void PreCalculateMetaInformationInternal( static void PreCalculateMetaInformationInternal( LayerImpl* layer, PreCalculateMetaInformationRecursiveData* recursive_data) { - layer->set_sorted_for_recursion(false); - layer->draw_properties().has_child_with_a_scroll_parent = false; - layer->set_layer_or_descendant_is_drawn(false); - layer->set_visited(false); - if (layer->clip_parent()) recursive_data->num_unclipped_descendants++; @@ -550,9 +541,6 @@ static void PreCalculateMetaInformationInternal( PreCalculateMetaInformationRecursiveData data_for_child; PreCalculateMetaInformationInternal(child_layer, &data_for_child); - - if (child_layer->scroll_parent()) - layer->draw_properties().has_child_with_a_scroll_parent = true; recursive_data->Merge(data_for_child); } |