Fix crash in NavigationControllerImpl::RendererDidNavigateToNewPage
It's possible that the renderer does a same-document navigation before NavigationController has committed an entry, so null-check GetLastCommittedEntry before using it. BUG=380127 TEST=NavigationControllerTest.PushStateWithoutPreviousEntry Review URL: https://codereview.chromium.org/311783005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274612 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment