Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OOBE: Fix
ash::GaiaScreen::LoadOnlineGaia
crashes
Fix the crashes in GaiaScreen caused by accessing the pointer returned from `BaseScreen::context()` while the screen is not shown. The pointer returned from `BaseScreen::context()` is only set before `GaiaScreen::ShowImpl()` is called and is reset after `GaiaScreen::HideImpl()` is called. Outside this range the `WizardContext` should be accessed from `LoginDisplayHost`. Bug: b:306728962 Change-Id: Iecc4308d4b09f23cd835d0da4f57f6ae910cf114 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4961793 Reviewed-by: Denis Kuznetsov <antrim@chromium.org> Commit-Queue: Osama Fathy <osamafathy@google.com> Cr-Commit-Position: refs/heads/main@{#1213141}
- Loading branch information