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

Issue 548423002: cc: Cancel RenewTreePriorirty callback if LTHI is gone. (Closed)

Created:
6 years, 3 months ago by vmpstr
Modified:
6 years, 3 months ago
Reviewers:
danakj, reveman, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Cancel RenewTreePriorirty callback if LTHI is gone. This patch fixes a crash in which the smoothness notifier triggers a RenewTreePriority call after LTHI disappears. In that case, we cancel the callback when the LTHI is gone. R=reveman, brianderson BUG=411211 Committed: https://crrev.com/e2048063b52f0324ffe7aa6283926750c04ed293 Cr-Commit-Position: refs/heads/master@{#293835}

Patch Set 1 #

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : +comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M cc/trees/thread_proxy.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (1 generated)
vmpstr
PTAL. Another way to fix this would be to use a weak ptr in the ...
6 years, 3 months ago (2014-09-08 16:04:57 UTC) #1
danakj
On 2014/09/08 16:04:57, vmpstr wrote: > PTAL. Another way to fix this would be to ...
6 years, 3 months ago (2014-09-08 16:32:08 UTC) #2
reveman
On 2014/09/08 16:04:57, vmpstr wrote: > PTAL. Another way to fix this would be to ...
6 years, 3 months ago (2014-09-08 16:36:52 UTC) #3
danakj
On Mon, Sep 8, 2014 at 12:36 PM, <reveman@chromium.org> wrote: > On 2014/09/08 16:04:57, vmpstr ...
6 years, 3 months ago (2014-09-08 16:38:52 UTC) #4
vmpstr
On 2014/09/08 16:38:52, danakj wrote: > On Mon, Sep 8, 2014 at 12:36 PM, <mailto:reveman@chromium.org> ...
6 years, 3 months ago (2014-09-08 17:23:18 UTC) #5
vmpstr
On 2014/09/08 16:36:52, reveman wrote: > On 2014/09/08 16:04:57, vmpstr wrote: > > PTAL. Another ...
6 years, 3 months ago (2014-09-08 17:29:28 UTC) #6
vmpstr
PTAL. I forgot that we can just cancel the notifier. This should be a proper ...
6 years, 3 months ago (2014-09-08 17:30:00 UTC) #7
danakj
LGTM https://codereview.chromium.org/548423002/diff/20001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/548423002/diff/20001/cc/trees/thread_proxy.cc#newcode1257 cc/trees/thread_proxy.cc:1257: impl().smoothness_priority_expiration_notifier.Cancel(); Leave a comment saying that this isn't ...
6 years, 3 months ago (2014-09-08 17:33:13 UTC) #8
vmpstr
https://codereview.chromium.org/548423002/diff/20001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/548423002/diff/20001/cc/trees/thread_proxy.cc#newcode1257 cc/trees/thread_proxy.cc:1257: impl().smoothness_priority_expiration_notifier.Cancel(); On 2014/09/08 17:33:13, danakj wrote: > Leave a ...
6 years, 3 months ago (2014-09-08 17:42:36 UTC) #9
danakj
Thanks! LGTM
6 years, 3 months ago (2014-09-08 17:50:48 UTC) #10
brianderson
lgtm
6 years, 3 months ago (2014-09-08 18:13:50 UTC) #11
reveman
lgtm
6 years, 3 months ago (2014-09-08 19:27:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/548423002/40001
6 years, 3 months ago (2014-09-08 19:30:37 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 948f7b3f52e22c737907e7e9ca6d227128b688d8
6 years, 3 months ago (2014-09-09 01:56:23 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:49:46 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e2048063b52f0324ffe7aa6283926750c04ed293
Cr-Commit-Position: refs/heads/master@{#293835}

Powered by Google App Engine
This is Rietveld 408576698