| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 53d456f9ecb7063abac7e12b4e59533a2316ad1a..0e35235f045c7ed0e88df81e1cd4e258dbc746f3 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -6284,6 +6284,11 @@ void RenderFrameImpl::BeginNavigation(const NavigationPolicyInfo& info) {
|
| net::LOAD_ONLY_FROM_CACHE | net::LOAD_DISABLE_CACHE);
|
| load_flags |= net::LOAD_BYPASS_CACHE;
|
| }
|
| +
|
| + bool is_form_submission =
|
| + info.navigationType == blink::WebNavigationTypeFormSubmitted ||
|
| + info.navigationType == blink::WebNavigationTypeFormResubmitted;
|
| +
|
| BeginNavigationParams begin_navigation_params(
|
| GetWebURLRequestHeaders(info.urlRequest), load_flags,
|
| info.urlRequest.hasUserGesture(),
|
| @@ -6291,7 +6296,7 @@ void RenderFrameImpl::BeginNavigation(const NavigationPolicyInfo& info) {
|
| blink::WebURLRequest::SkipServiceWorker::None,
|
| GetRequestContextTypeForWebURLRequest(info.urlRequest),
|
| GetMixedContentContextTypeForWebURLRequest(info.urlRequest),
|
| - initiator_origin);
|
| + is_form_submission, initiator_origin);
|
|
|
| if (!info.form.isNull()) {
|
| WebSearchableFormData web_searchable_form_data(info.form);
|
|
|