Chromium Code Reviews| Index: content/browser/frame_host/navigation_controller_impl.cc |
| diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
| index c133a633181190a019af936a93be4a607c757ae6..e4e332c7b6eb5e0b27643f31aecc7a99e783d75b 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -1297,7 +1297,10 @@ void NavigationControllerImpl::RendererDidNavigateToExistingPage( |
| } else { |
| // When restoring a tab, the serialized NavigationEntry doesn't have the |
| // SSL state. |
| - entry->GetSSL() = handle->ssl_status(); |
| + // Only copy the cert from the NavigationHandle since this code path can |
|
estark
2017/06/08 00:20:40
Actually, hang on, sorry, this comment is a little
jam
2017/06/08 16:29:50
Done.
|
| + // be taken during navigation. See http://crbug.com/727892 |
| + if (was_restored) |
| + entry->GetSSL() = handle->ssl_status(); |
| } |
| } else { |
| // This is renderer-initiated. The only kinds of renderer-initated |