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

Issue 2949103002: Fix QuickLaunch AuraInit Crash (Closed)

Created:
3 years, 6 months ago by jonross
Modified:
3 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix QuickLaunch AuraInit Crash QuickLaunch will attempt to bring up its own Aura. However it is possible for QuickLaunch::OnStart to occur after the peer has closed. AuraInit requires a Directory api to load resources. Currently failing with a CHECK when it is not available. This updates AuraInit to report success/failure at initializing. QuickLaunch uses this to cleanly close the ServiceContext on its side. This will clean up a series of random crashes occuring in mash_browser_tests TEST=mash_browser_tests BUG=678687 Review-Url: https://codereview.chromium.org/2949103002 Cr-Commit-Position: refs/heads/master@{#481883} Committed: https://chromium.googlesource.com/chromium/src/+/e4175877f5a72d240e89bde552f79fc31e2b0cad

Patch Set 1 #

Patch Set 2 : more docs #

Total comments: 2

Patch Set 3 : Todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -5 lines) Patch
M mash/quick_launch/quick_launch.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/mus/aura_init.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M ui/views/mus/aura_init.cc View 1 2 5 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
jonross
Hey sky@, Could you take a look at this review? Here AuraInit begins to track ...
3 years, 6 months ago (2017-06-22 14:22:40 UTC) #2
sky
https://codereview.chromium.org/2949103002/diff/20001/ui/views/mus/aura_init.cc File ui/views/mus/aura_init.cc (right): https://codereview.chromium.org/2949103002/diff/20001/ui/views/mus/aura_init.cc#newcode73 ui/views/mus/aura_init.cc:73: if (!InitializeResources(connector)) What do you think of moving everything ...
3 years, 6 months ago (2017-06-22 15:28:59 UTC) #3
jonross
https://codereview.chromium.org/2949103002/diff/20001/ui/views/mus/aura_init.cc File ui/views/mus/aura_init.cc (right): https://codereview.chromium.org/2949103002/diff/20001/ui/views/mus/aura_init.cc#newcode73 ui/views/mus/aura_init.cc:73: if (!InitializeResources(connector)) On 2017/06/22 15:28:58, sky wrote: > What ...
3 years, 6 months ago (2017-06-22 17:49:30 UTC) #4
sky
If this is only to see how it addresses issues, I'm ok with that. If ...
3 years, 6 months ago (2017-06-22 20:15:32 UTC) #5
jonross
Todo added
3 years, 6 months ago (2017-06-23 13:05:03 UTC) #6
sky
LGTM
3 years, 6 months ago (2017-06-23 13:28:01 UTC) #7
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/2949103002/40001
3 years, 6 months ago (2017-06-23 13:30:48 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 14:41:52 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e4175877f5a72d240e89bde552f7...

Powered by Google App Engine
This is Rietveld 408576698