| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 29bee41952f4bea82c4307ff14f21a5d5d5b655b..dd03022baa65dccfdc6ae9090eb9fc81277cef51 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -6157,11 +6157,11 @@ void RenderFrameImpl::PopulateDocumentStateFromPending(
|
| url::kJavaScriptScheme) &&
|
| pending_navigation_params_->common_params.navigation_type ==
|
| FrameMsg_Navigate_Type::RESTORE) {
|
| - // We're doing a load of a page that was restored from the last session. By
|
| - // default this prefers the cache over loading (LOAD_PREFERRING_CACHE) which
|
| - // can result in stale data for pages that are set to expire. We explicitly
|
| - // override that by setting the policy here so that as necessary we load
|
| - // from the network.
|
| + // We're doing a load of a page that was restored from the last session.
|
| + // By default this prefers the cache over loading
|
| + // (LOAD_SKIP_CACHE_VALIDATION) which can result in stale data for pages
|
| + // that are set to expire. We explicitly override that by setting the
|
| + // policy here so that as necessary we load from the network.
|
| //
|
| // TODO(davidben): Remove this in favor of passing a cache policy to the
|
| // loadHistoryItem call in OnNavigate. That requires not overloading
|
|
|