Revert "Fix the AppWindowLauncherItemController::GetAppWindow crash issue."
This reverts commit aa51435c. Reason for revert: Findit (https://goo.gl/kROfz5) identified CL at revision 837244 as the culprit for failures in the build cycles as shown on: https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2FhNTE0MzVjM2I0MWJkYjk3ZjY5ZmFhYzNmNjE0NDc4MGYyN2U2MWIM Sample Failed Build: https://ci.chromium.org/b/8860789670201602304 Sample Failed Step: unit_tests Original change's description: > Fix the AppWindowLauncherItemController::GetAppWindow crash issue. > > This CL is the 3rd option to resolve the crash of below call stack: > AppWindowLauncherItemController::GetAppWindow(aura::Window*, bool) > AppWindowLauncherItemController::SetActiveWindow(aura::Window*) > AppWindowLauncherController::OnWindowActivated() > > One possible guessing is the AppWindowLauncherItemController object has > been deleted, but still used by AppServiceAppWindowLauncherController. > So modify the destruct function, and set the controller as null in > AppWindowBase. > > BUG=1128491 > > Change-Id: Ied59f857653aa0a136cbe9f903ff79ce5856e34c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586647 > Commit-Queue: Nancy Wang <nancylingwang@chromium.org> > Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> > Cr-Commit-Position: refs/heads/master@{#837244} No-Presubmit: true No-Tree-Checks: true No-Try: true BUG=1128491 Change-Id: Ia518fe2f01bbb128758982250405ffd470008c0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2594556 Cr-Commit-Position: refs/heads/master@{#837449}
Showing
Please register or sign in to comment