weblayer: fixs possible NPE if a11y enabled during Tab creation
If a11y is enabled, then Tab creation may trigger calling some code paths that assume mBrowser was non-null. BUG=1136596 TEST=TabPrivateTest.testCreateTabWithAccessibilityEnabledCrashTest Change-Id: I500fd70cb56b7d16c22284acb677c06ec57b536d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2461714Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#815357}
Showing
Please register or sign in to comment