| Index: content/browser/frame_host/navigation_request.cc
|
| diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
|
| index 4c3e1de2a3c232ba1a7c6d9b115dd4ede3680223..66f111757ebd5eacd16e44fb6906c36837ca7b0d 100644
|
| --- a/content/browser/frame_host/navigation_request.cc
|
| +++ b/content/browser/frame_host/navigation_request.cc
|
| @@ -144,7 +144,7 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
|
| const FrameNavigationEntry& frame_entry,
|
| const NavigationEntryImpl& entry,
|
| FrameMsg_Navigate_Type::Value navigation_type,
|
| - LoFiState lofi_state,
|
| + int previews_state,
|
| bool is_same_document_history_load,
|
| bool is_history_navigation_in_new_child,
|
| const base::TimeTicks& navigation_start,
|
| @@ -157,7 +157,7 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
|
| std::unique_ptr<NavigationRequest> navigation_request(new NavigationRequest(
|
| frame_tree_node, entry.ConstructCommonNavigationParams(
|
| frame_entry, request_body, dest_url, dest_referrer,
|
| - navigation_type, lofi_state, navigation_start),
|
| + navigation_type, previews_state, navigation_start),
|
| BeginNavigationParams(entry.extra_headers(), net::LOAD_NORMAL,
|
| false, // skip_service_worker
|
| REQUEST_CONTEXT_TYPE_LOCATION),
|
| @@ -401,11 +401,8 @@ void NavigationRequest::OnResponseStarted(
|
| ->service_worker_provider_host_id()
|
| : kInvalidServiceWorkerProviderId;
|
|
|
| - // Update the lofi state of the request.
|
| - if (response->head.is_using_lofi)
|
| - common_params_.lofi_state = LOFI_ON;
|
| - else
|
| - common_params_.lofi_state = LOFI_OFF;
|
| + // Update the previews state of the request.
|
| + common_params_.previews_state = response->head.previews_state;
|
|
|
| // Select an appropriate renderer to commit the navigation.
|
| RenderFrameHostImpl* render_frame_host =
|
|
|