Chromium Code Reviews| Index: content/browser/frame_host/navigation_handle_impl.cc |
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc |
| index 8ed60813cfc8592fe75bd843f6931c59c078c1ba..c01699d7171eebef5b5b414b22dd18c850ba54a8 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.cc |
| +++ b/content/browser/frame_host/navigation_handle_impl.cc |
| @@ -534,7 +534,8 @@ void NavigationHandleImpl::ReadyToCommitNavigation( |
| render_frame_host_ = render_frame_host; |
| state_ = READY_TO_COMMIT; |
| - if (!IsRendererDebugURL(url_)) |
| + if (!IsRendererDebugURL(url_) && |
| + !IsSamePage()) |
|
nasko
2017/01/13 02:51:10
This should fit just fine on the previous line.
arthursonzogni
2017/01/13 15:18:37
Done.
|
| GetDelegate()->ReadyToCommitNavigation(this); |
| } |