diff options
author | sunxd <sunxd@chromium.org> | 2016-01-11 13:01:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-11 21:02:26 +0000 |
commit | ed58688e7629fa3c56470a241bc758fb5fabf081 (patch) | |
tree | f6ff71f020fca9532faa6c66548894fa126cd900 /cc/trees/layer_tree_host_impl_unittest.cc | |
parent | 41a523c0dbdf29bf1353036e35004cb35c345b17 (diff) | |
download | chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.zip chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.tar.gz chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.tar.bz2 |
cc: Use effect tree to track the number of copy requests
Move num_layer_or_descendants_with_copy_requestfrom layer_tree to
effect_tree.
This update introduces false positives to the variable:
if a layer owns no effect node, it returns the value of its nearest
ancestor who owns a effect node.
BUG=574192
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1566913004
Cr-Commit-Position: refs/heads/master@{#368664}
Diffstat (limited to 'cc/trees/layer_tree_host_impl_unittest.cc')
-rw-r--r-- | cc/trees/layer_tree_host_impl_unittest.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc index 4c39390..8fa0ac3 100644 --- a/cc/trees/layer_tree_host_impl_unittest.cc +++ b/cc/trees/layer_tree_host_impl_unittest.cc @@ -7211,7 +7211,6 @@ TEST_F(LayerTreeHostImplTest, ShutdownReleasesContext) { LayerImpl* root = host_impl_->active_tree()->root_layer(); root->PassCopyRequests(&requests); - root->set_num_layer_or_descendant_with_copy_request(1); LayerTreeHostImpl::FrameData frame; EXPECT_EQ(DRAW_SUCCESS, PrepareToDrawFrame(&frame)); |