| Index: chrome/browser/ssl/ssl_error_handler.cc
|
| diff --git a/chrome/browser/ssl/ssl_error_handler.cc b/chrome/browser/ssl/ssl_error_handler.cc
|
| index 22c1ba6caebb88025e0fb209829cfa2d7adf5114..316dfc7a87b874ad2ed2f45a32199a393157b789 100644
|
| --- a/chrome/browser/ssl/ssl_error_handler.cc
|
| +++ b/chrome/browser/ssl/ssl_error_handler.cc
|
| @@ -701,8 +701,10 @@ void SSLErrorHandler::Observe(
|
|
|
| void SSLErrorHandler::DidStartNavigation(
|
| content::NavigationHandle* navigation_handle) {
|
| - if (!navigation_handle->IsInMainFrame() || navigation_handle->IsSamePage())
|
| + if (!navigation_handle->IsInMainFrame() ||
|
| + navigation_handle->IsSameDocument()) {
|
| return;
|
| + }
|
|
|
| // Destroy the error handler on all new navigations. This ensures that the
|
| // handler is properly recreated when a hanging page is navigated to an SSL
|
|
|