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

Issue 2745723002: chromeos: Fix shutdown crash in status area teardown on stylus devices (Closed)

Created:
3 years, 9 months ago by James Cook
Modified:
3 years, 9 months ago
Reviewers:
jdufault
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Fix shutdown crash in status area teardown on stylus devices StatusAreaWidget::Shutdown() needs to manually remove all its child view to avoid layout problems during shutdown. The stylus palette tray view wasn't being removed. This should fix a crash in aura::WindowEventDispatcher::ReleaseNativeCapture during ash::Shell teardown that we're seeing on kevin. I added a DCHECK to ensure all views are being cleaned up and filed a bug to refactor this code so we don't have to clean up the views manually. Fixed FocusCycleTest so it doesn't add duplicate child views to the status area, which was tripping my DCHECK. BUG=700122 Review-Url: https://codereview.chromium.org/2745723002 Cr-Commit-Position: refs/heads/master@{#456104} Committed: https://chromium.googlesource.com/chromium/src/+/fe89c29e259964557dc8a1ff4e450accb47193e1

Patch Set 1 #

Patch Set 2 : fix FocusCycleTest #

Total comments: 1

Patch Set 3 : remove unnecessary include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M ash/common/system/status_area_widget.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
James Cook
jdufault, please take a look. If it looks good to you please CQ -- the ...
3 years, 9 months ago (2017-03-10 05:53:03 UTC) #5
jdufault
thanks, lgtm
3 years, 9 months ago (2017-03-10 17:51:05 UTC) #12
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/2745723002/40001
3 years, 9 months ago (2017-03-10 17:51:48 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 18:04:12 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/fe89c29e259964557dc8a1ff4e45...

Powered by Google App Engine
This is Rietveld 408576698