Reload with empty navigation manager should not crash
Previously, the app crashes when user tries to reload when navigation manager is empty. This CL fixes the issue by adding an earl return to |Reload| in NavigationManagerImpl so that it does nothing when its empty. This CL also adds corresponding unit tests to prevent regressions. BUG=705707 Review-Url: https://codereview.chromium.org/2780703002 Cr-Commit-Position: refs/heads/master@{#460464}
Showing
Please register or sign in to comment