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

Issue 1139573004: Reset property tree indices when layer is removed from layer tree (Closed)

Created:
5 years, 7 months ago by Ian Vollick
Modified:
5 years, 7 months ago
Reviewers:
ajuma
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset property tree indices when layer is removed from layer tree An orphaned layer has no relation to property trees, so it is an error for it to have property tree indices. BUG=489725 Committed: https://crrev.com/692444f78ce635ca7a5dc4e5e9cb925c64500fad Cr-Commit-Position: refs/heads/master@{#330739}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase/address review #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 1

Patch Set 5 : Use sequence numbers to invalidate property tree indices. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -47 lines) Patch
M cc/layers/layer.h View 1 2 3 4 2 chunks +12 lines, -20 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 4 chunks +58 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 1 chunk +8 lines, -13 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 2 chunks +18 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 7 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
Ian Vollick
5 years, 7 months ago (2015-05-19 19:59:20 UTC) #2
ajuma
lgtm https://codereview.chromium.org/1139573004/diff/1/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1139573004/diff/1/cc/trees/layer_tree_host_common_unittest.cc#newcode9617 cc/trees/layer_tree_host_common_unittest.cc:9617: ExecuteCalculateDrawProperties(root.get()); ExecuteCalculateDrawPropertiesWithPropertyTrees (same thing below). https://codereview.chromium.org/1139573004/diff/1/cc/trees/property_tree.h File cc/trees/property_tree.h ...
5 years, 7 months ago (2015-05-19 20:06:23 UTC) #3
Ian Vollick
https://codereview.chromium.org/1139573004/diff/1/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1139573004/diff/1/cc/trees/layer_tree_host_common_unittest.cc#newcode9617 cc/trees/layer_tree_host_common_unittest.cc:9617: ExecuteCalculateDrawProperties(root.get()); On 2015/05/19 20:06:23, ajuma wrote: > ExecuteCalculateDrawPropertiesWithPropertyTrees (same ...
5 years, 7 months ago (2015-05-19 21:11:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139573004/20001
5 years, 7 months ago (2015-05-19 21:14:32 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/24589)
5 years, 7 months ago (2015-05-19 23:13:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139573004/20001
5 years, 7 months ago (2015-05-20 00:31:03 UTC) #11
Ian Vollick
On 2015/05/20 at 00:31:03, commit-bot wrote: > CQ is trying da patch. Follow status at ...
5 years, 7 months ago (2015-05-20 01:56:53 UTC) #12
Ian Vollick
On 2015/05/20 at 01:56:53, vollick wrote: > On 2015/05/20 at 00:31:03, commit-bot wrote: > > ...
5 years, 7 months ago (2015-05-20 13:33:28 UTC) #14
ajuma
https://codereview.chromium.org/1139573004/diff/60001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1139573004/diff/60001/cc/layers/layer.cc#newcode258 cc/layers/layer.cc:258: InvalidatePropertyTreeIndices(); I'm a bit worried about the perf impact ...
5 years, 7 months ago (2015-05-20 13:54:03 UTC) #15
Ian Vollick
On 2015/05/20 at 13:54:03, ajuma wrote: > https://codereview.chromium.org/1139573004/diff/60001/cc/layers/layer.cc > File cc/layers/layer.cc (right): > > https://codereview.chromium.org/1139573004/diff/60001/cc/layers/layer.cc#newcode258 ...
5 years, 7 months ago (2015-05-20 13:58:01 UTC) #16
Ian Vollick
On 2015/05/20 at 13:58:01, vollick wrote: > On 2015/05/20 at 13:54:03, ajuma wrote: > > ...
5 years, 7 months ago (2015-05-20 15:18:20 UTC) #17
ajuma
On 2015/05/20 15:18:20, vollick wrote: > On 2015/05/20 at 13:58:01, vollick wrote: > > Yeah, ...
5 years, 7 months ago (2015-05-20 15:28:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139573004/80001
5 years, 7 months ago (2015-05-20 15:35:02 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-20 15:39:23 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 15:40:15 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/692444f78ce635ca7a5dc4e5e9cb925c64500fad
Cr-Commit-Position: refs/heads/master@{#330739}

Powered by Google App Engine
This is Rietveld 408576698