Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index 0759ebff60ab5bf16907ffd6e5d990c40db73241..dfba9c73a8466762e952e7967fff8990d8d63d8f 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -22,6 +22,7 @@ |
#include "content/browser/webui/web_ui_impl.h" |
#include "content/common/frame_messages.h" |
#include "content/common/navigation_params.h" |
+#include "content/common/service_worker/service_worker_types.h" |
#include "content/common/site_isolation_policy.h" |
#include "content/common/view_messages.h" |
#include "content/public/browser/browser_context.h" |
@@ -159,7 +160,9 @@ void NavigatorImpl::DidStartProvisionalLoad( |
} |
render_frame_host->SetNavigationHandle( |
- NavigationHandleImpl::Create(validated_url, is_main_frame, delegate_)); |
+ NavigationHandleImpl::Create( |
+ validated_url, is_main_frame, delegate_, |
+ kInvalidServiceWorkerProviderId)); |
} |
void NavigatorImpl::DidFailProvisionalLoadWithError( |
@@ -350,7 +353,8 @@ bool NavigatorImpl::NavigateToEntry( |
controller_->GetPendingEntryIndex() == -1, |
controller_->GetIndexOfEntry(&entry), |
controller_->GetLastCommittedEntryIndex(), |
- controller_->GetEntryCount())); |
+ controller_->GetEntryCount(), |
+ kInvalidServiceWorkerProviderId)); |
} else { |
// No need to navigate again. Just resume the deferred request. |
dest_render_frame_host->GetProcess()->ResumeDeferredNavigation( |
@@ -750,7 +754,6 @@ void NavigatorImpl::CommitNavigation(FrameTreeNode* frame_tree_node, |
render_frame_host->CommitNavigation(response, body.Pass(), |
navigation_request->common_params(), |
navigation_request->request_params()); |
- |
} |
// PlzNavigate |