Fix crash in GetPagesToServeURL
It is possible to reach this function in incognito mode, in which case offline_page_model will be null. Added code to handle this condition instead of crash. Bug: 918119 Change-Id: Iddad53677e168c565a20dfc888d1ccb213a54fe7 Reviewed-on: https://chromium-review.googlesource.com/c/1393465Reviewed-by:Jian Li <jianli@chromium.org> Commit-Queue: Dan H <harringtond@google.com> Cr-Commit-Position: refs/heads/master@{#619662}
Showing
Please register or sign in to comment