Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 6b3e7706856ae695d8ca4f5b78da5bc023248c94..7637c883ab79be8c00a5520e73178288475f616a 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -2211,7 +2211,8 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest( |
false, |
false, // is download |
false, // is stream |
- info.common_params.allow_download, info.begin_params.has_user_gesture, |
+ info.common_params.allow_download, |
+ info.begin_params.gesture == NavigationGestureUser, |
true, // enable_load_timing |
false, // enable_upload_progress |
false, // do_not_prompt_for_login |
@@ -2222,7 +2223,7 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest( |
blink::WebPageVisibilityStateVisible, resource_context, |
base::WeakPtr<ResourceMessageFilter>(), // filter |
info.report_raw_headers, |
- true, // is_async |
+ true, // is_async |
IsUsingLoFi(info.common_params.lofi_state, delegate_, *new_request, |
resource_context, info.is_main_frame), |
// The original_headers field is for stale-while-revalidate but the |