Add null check to mTab before invoking mTab#getWindowAndroid in
LocationBarModel. This CL returns a non primary OTR profile when mTab is null for LocationBarModel#getProfile. This CL also adds tests. Bug: 1127695 Change-Id: I2aa2e63229826e50e1602630d6fef2e6197395a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409298Reviewed-by:Marc Treib <treib@chromium.org> Reviewed-by:
Peter Conn <peconn@chromium.org> Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Cr-Commit-Position: refs/heads/master@{#806651}
Showing
Please register or sign in to comment