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

Issue 399233004: (Reland) cc: Remove recycled tilings when active tree removes them. (Closed)

Created:
6 years, 5 months ago by vmpstr
Modified:
6 years, 5 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, tonyg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

(Reland) cc: Remove recycled tilings 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. This includes a check in RemoveTilings for NULL tilings. When the first pending tree activates, it swaps with active tree's NULL tilings, which become the recycle tilings. When removing tilings, we have to ensure that tilings is not NULL before accessing its members. BUG=393802 R=danakj, enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285114

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M cc/layers/picture_layer_impl.cc View 3 chunks +18 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 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: 8 (0 generated)
vmpstr
PTAL. tonyg@, thanks for fixing the crashes. From my understanding of crbug.com/395398, the crash was ...
6 years, 5 months ago (2014-07-20 01:32:35 UTC) #1
enne (OOO)
lgtm
6 years, 5 months ago (2014-07-21 22:59:35 UTC) #2
tonyg
On Sat, Jul 19, 2014 at 6:32 PM, <vmpstr@chromium.org> wrote: > Reviewers: danakj, enne(OOO until ...
6 years, 5 months ago (2014-07-22 02:51:23 UTC) #3
vmpstr
Ok, I finally confirmed that I can repro a crash without my fix and it ...
6 years, 5 months ago (2014-07-23 19:34:44 UTC) #4
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-23 19:34:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/399233004/1
6 years, 5 months ago (2014-07-23 19:36:12 UTC) #6
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-23 22:19:19 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 02:23:49 UTC) #8
Message was sent while issue was closed.
Change committed as 285114

Powered by Google App Engine
This is Rietveld 408576698