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=64911 Review-Url: https://chromiumcodereview.appspot.com/2429213009 Cr-Commit-Position: refs/heads/master@{#426847}
Showing
Please register or sign in to comment