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 04429831faa4c727f0e8322621a229d452090566..cbe1d1ef7760f21135730910af745d7ffcef3124 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -21,6 +21,7 @@ |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/navigation_data.h" |
+#include "content/public/browser/navigation_ui_data.h" |
#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/stream_handle.h" |
#include "content/public/common/content_client.h" |
@@ -405,9 +406,14 @@ void NavigationRequest::OnStartChecksComplete( |
// Mark the fetch_start (Navigation Timing API). |
request_params_.navigation_timing.fetch_start = base::TimeTicks::Now(); |
+ std::unique_ptr<NavigationUIData> navigation_ui_data; |
+ if (navigation_handle_->navigation_ui_data()) |
+ navigation_ui_data = navigation_handle_->navigation_ui_data()->Clone(); |
+ |
loader_ = NavigationURLLoader::Create( |
frame_tree_node_->navigator()->GetController()->GetBrowserContext(), |
- std::move(info_), service_worker_context, this); |
+ std::move(info_), std::move(navigation_ui_data), service_worker_context, |
+ this); |
} |
void NavigationRequest::OnRedirectChecksComplete( |