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

Issue 2429213009: Fix occasional crash in TryNextRequest (Closed)

Created:
4 years, 2 months ago by Pete Williamson
Modified:
4 years, 2 months ago
Reviewers:
dougarnett
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix occasional crash in TryNextRequest If chrome is shut down, then a user deletes a request from a notification, the scheduler callback will not be set, and we could crash trying to inform it. To fix this, when we start, set an empty scheduler callback to receive the call, so we don't try to call through a nullptr. BUG=657111 Committed: https://crrev.com/1cc1225e5bcaeef6cfb059a479c8b0a492460cb7 Cr-Commit-Position: refs/heads/master@{#426847}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M components/offline_pages/background/request_coordinator.cc View 3 chunks +3 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
Pete Williamson
4 years, 2 months ago (2016-10-21 00:30:10 UTC) #2
dougarnett
lgtm https://codereview.chromium.org/2429213009/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2429213009/diff/1/components/offline_pages/background/request_coordinator.cc#newcode490 components/offline_pages/background/request_coordinator.cc:490: // TODO: Make sure the scheduler callback is ...
4 years, 2 months ago (2016-10-21 16:46:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2429213009/1
4 years, 2 months ago (2016-10-21 17:09:24 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-21 18:20:46 UTC) #6
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 18:42:38 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1cc1225e5bcaeef6cfb059a479c8b0a492460cb7
Cr-Commit-Position: refs/heads/master@{#426847}

Powered by Google App Engine
This is Rietveld 408576698