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

Issue 2007383002: Fix invalid DCHECK in EmbeddedApplicationRunner (Closed)

Created:
4 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 7 months ago
Reviewers:
xhwang
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix invalid DCHECK in EmbeddedApplicationRunner ThreadChecker checks that ShellClient messages are dispatched on the app thread, but we weren't detaching it when spinning up a new thread for the app. So start -> shutdown -> start would incorrectly hit a DCHECK. This fixes that. BUG=614554 R=xhwang@chromium.org TBR=ben@chromium.org Committed: https://crrev.com/ff6d1d6cc9d46baa42c0c10fb062ea9af4227f26 Cr-Commit-Position: refs/heads/master@{#395974}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -9 lines) Patch
M content/common/mojo/embedded_application_runner.cc View 1 5 chunks +3 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Ken Rockot(use gerrit already)
4 years, 7 months ago (2016-05-25 17:23:17 UTC) #1
xhwang
The fix lg, but I have a question. https://codereview.chromium.org/2007383002/diff/1/content/common/mojo/embedded_application_runner.cc File content/common/mojo/embedded_application_runner.cc (right): https://codereview.chromium.org/2007383002/diff/1/content/common/mojo/embedded_application_runner.cc#newcode129 content/common/mojo/embedded_application_runner.cc:129: base::ThreadChecker ...
4 years, 7 months ago (2016-05-25 17:30:27 UTC) #2
Ken Rockot(use gerrit already)
On 2016/05/25 at 17:30:27, xhwang wrote: > The fix lg, but I have a question. ...
4 years, 7 months ago (2016-05-25 17:47:48 UTC) #3
xhwang
lgtm
4 years, 7 months ago (2016-05-25 17:51:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007383002/20001
4 years, 7 months ago (2016-05-25 19:40:18 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/189823)
4 years, 7 months ago (2016-05-25 19:49:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007383002/20001
4 years, 7 months ago (2016-05-25 19:50:39 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-25 20:15:43 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 20:17:14 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ff6d1d6cc9d46baa42c0c10fb062ea9af4227f26
Cr-Commit-Position: refs/heads/master@{#395974}

Powered by Google App Engine
This is Rietveld 408576698