Null-check navigationController before using
Context: WebContents#getNavigationController() can return null. PaymentHandlerMediator should null-check the getter's return before using it. Bug: 1137695 Change-Id: I9a78ebfd60666268ef48566e0d7437a59e198a3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463713Reviewed-by:Nick Burris <nburris@chromium.org> Reviewed-by:
Sahel Sharify <sahel@chromium.org> Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#820034}
Showing
Please register or sign in to comment