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

Issue 2851763002: Update WindowManagerApplication teardown (Closed)

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

Description

Update WindowManagerApplication teardown WindowManagerApplication's normal destruction order involves tearing down everything is has created. However on some fast tests it is possible for WindowManagerApplication to be destroyed before OnStart is ever called. When this occurs we attempt to destroy services which we never created, and various DCHECKS are triggered. PhishingDOMFeatureExtractorTest.SubframeRemoval has a >50% repro rate of this locally where the crash occurs after the test successfully passes. TEST=PhishingDOMFeatureExtractorTest.SubframeRemoval BUG=678687 Review-Url: https://codereview.chromium.org/2851763002 Cr-Commit-Position: refs/heads/master@{#468101} Committed: https://chromium.googlesource.com/chromium/src/+/13d934bcc82c0e7ac86afe39fdede0a8d3b46d2a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M ash/mus/window_manager_application.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
jonross
Hey sky@, Could you review this change to WindowManagerApplication? Thanks, Jon
3 years, 7 months ago (2017-04-28 15:58:31 UTC) #2
sky
LGTM
3 years, 7 months ago (2017-04-28 17:54:36 UTC) #3
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/2851763002/1
3 years, 7 months ago (2017-04-28 17:56:08 UTC) #5
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 19:54:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/13d934bcc82c0e7ac86afe39fded...

Powered by Google App Engine
This is Rietveld 408576698