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

Issue 400633004: cc: Remove tilings from recycle tree when active tree removes them. (Closed)

Created:
6 years, 5 months ago by vmpstr
Modified:
6 years, 5 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

cc: Remove tilings from recycle tree when active tree removes them. This patch is the second part of ensuring that recycle tree does not contain any unshared tiles. This is done by removing recycle tree tilings when active tree removes those tilings. BUG=393802 R=danakj Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284311

Patch Set 1 #

Total comments: 1

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : update #

Total comments: 2

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M cc/layers/picture_layer_impl.cc View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
vmpstr
PTAL
6 years, 5 months ago (2014-07-17 21:41:00 UTC) #1
danakj
https://codereview.chromium.org/400633004/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/400633004/diff/1/cc/layers/picture_layer_impl.cc#newcode1224 cc/layers/picture_layer_impl.cc:1224: recycled_twin->RemoveTiling(to_remove[i]->contents_scale()); We might remove the high res tiling on ...
6 years, 5 months ago (2014-07-17 21:54:48 UTC) #2
vmpstr
On 2014/07/17 21:54:48, danakj wrote: > https://codereview.chromium.org/400633004/diff/1/cc/layers/picture_layer_impl.cc > File cc/layers/picture_layer_impl.cc (right): > > https://codereview.chromium.org/400633004/diff/1/cc/layers/picture_layer_impl.cc#newcode1224 > ...
6 years, 5 months ago (2014-07-17 21:59:25 UTC) #3
danakj
On 2014/07/17 21:59:25, vmpstr wrote: > On 2014/07/17 21:54:48, danakj wrote: > > > https://codereview.chromium.org/400633004/diff/1/cc/layers/picture_layer_impl.cc ...
6 years, 5 months ago (2014-07-17 22:00:15 UTC) #4
vmpstr
PTAL
6 years, 5 months ago (2014-07-17 22:16:36 UTC) #5
danakj
https://codereview.chromium.org/400633004/diff/20001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/400633004/diff/20001/cc/layers/picture_layer_impl.cc#newcode1230 cc/layers/picture_layer_impl.cc:1230: recycled_twin->RemoveTiling(to_remove[i]->contents_scale()); er, wait, to_remove[i] is a use-after-free here, cuz ...
6 years, 5 months ago (2014-07-17 22:22:49 UTC) #6
vmpstr
PTAL https://codereview.chromium.org/400633004/diff/20001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/400633004/diff/20001/cc/layers/picture_layer_impl.cc#newcode1230 cc/layers/picture_layer_impl.cc:1230: recycled_twin->RemoveTiling(to_remove[i]->contents_scale()); On 2014/07/17 22:22:49, danakj wrote: > er, ...
6 years, 5 months ago (2014-07-17 22:30:59 UTC) #7
danakj
On 2014/07/17 22:30:59, vmpstr wrote: > PTAL > > https://codereview.chromium.org/400633004/diff/20001/cc/layers/picture_layer_impl.cc > File cc/layers/picture_layer_impl.cc (right): > ...
6 years, 5 months ago (2014-07-18 18:34:52 UTC) #8
danakj
https://codereview.chromium.org/400633004/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/400633004/diff/40001/cc/layers/picture_layer_impl.cc#newcode1216 cc/layers/picture_layer_impl.cc:1216: // Remove the tiling from the recycle tree. nit: ...
6 years, 5 months ago (2014-07-18 18:34:58 UTC) #9
vmpstr
https://codereview.chromium.org/400633004/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/400633004/diff/40001/cc/layers/picture_layer_impl.cc#newcode1216 cc/layers/picture_layer_impl.cc:1216: // Remove the tiling from the recycle tree. On ...
6 years, 5 months ago (2014-07-18 23:21:12 UTC) #10
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-18 23:21:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/400633004/60001
6 years, 5 months ago (2014-07-18 23:22:35 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-19 02:37:01 UTC) #13
commit-bot: I haz the power
Change committed as 284311
6 years, 5 months ago (2014-07-19 04:51:35 UTC) #14
tonyg
6 years, 5 months ago (2014-07-19 20:28:44 UTC) #15
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/407763002/ by tonyg@chromium.org.

The reason for reverting is: Related crashes are showing up on Android bots.
Details in bug.

BUG=395398.

Powered by Google App Engine
This is Rietveld 408576698