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

Issue 1839453002: Move use of ShutdownWatcherHelper after early return (Closed)

Created:
4 years, 9 months ago by sky
Modified:
4 years, 9 months ago
Reviewers:
jam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move use of ShutdownWatcherHelper after early return The ShutdownWatcherHelper is only needed if we don't early return, additionally the early return triggers a DCHECK because ShutdownWatcherHelper gets destroyed on the UI thread, triggering a threading assertion because it ends up calling Join(). Also add ScopedAllowIO, in case Terminate fails. If SessionEnding returns we're going to be destroyed by the OS anyway, so we don't really care about any additional IO. BUG=none TEST=none R=jam@chromium.org Committed: https://crrev.com/0e07a14f1d8515fb5802c03e7c30dfe0bae4a87d Cr-Commit-Position: refs/heads/master@{#383365}

Patch Set 1 #

Patch Set 2 : moar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M PRESUBMIT.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
sky
4 years, 9 months ago (2016-03-25 19:59:21 UTC) #2
jam
lgtm
4 years, 9 months ago (2016-03-25 20:17:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839453002/20001
4 years, 9 months ago (2016-03-25 20:29:19 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-25 21:27:40 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 21:30:07 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0e07a14f1d8515fb5802c03e7c30dfe0bae4a87d
Cr-Commit-Position: refs/heads/master@{#383365}

Powered by Google App Engine
This is Rietveld 408576698