The local state is always valid, and should be retrieved from `TestingBrowserProcess::GetGlobal()->GetTestingLocalState()`. Chromium changes: https://chromium.googlesource.com/chromium/src/+/68994f1d5aaecfdb064cdb62384538c16a5c7472 commit 68994f1d5aaecfdb064cdb62384538c16a5c7472 Author: Jun Ishiguro <junis@google.com> Date: Wed Aug 6 22:16:21 2025 -0700 Remove ScopedTestingLocalState usage (part 6) This CL removes usages of ScopedTestingLocalState, which has been deprecated. This CL was made by Gemini CLI. Bug: 422039036 Change-Id: I143e5bff8b52c15fb530e1c9719a05eb08758df2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6805174 Commit-Queue: Jun Ishiguro <junis@google.com> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1498019}