Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3076)

Unified Diff: content/renderer/service_worker/embedded_worker_instance_client_impl.cc

Issue 2958753003: Revert "Create ServiceWorkerProviderHost before starting worker" (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/service_worker/embedded_worker_instance_client_impl.cc
diff --git a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
index b3c94bdf1764143a125b02eb3ed260cc66a09312..cf4ab1bef5fcba3db838449d87b01fe32bfb39dd 100644
--- a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
+++ b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
@@ -47,19 +47,18 @@ void EmbeddedWorkerInstanceClientImpl::WorkerContextDestroyed() {
void EmbeddedWorkerInstanceClientImpl::StartWorker(
const EmbeddedWorkerStartParams& params,
mojom::ServiceWorkerEventDispatcherRequest dispatcher_request,
- mojom::EmbeddedWorkerInstanceHostAssociatedPtrInfo instance_host,
- mojom::ServiceWorkerProviderInfoForStartWorkerPtr provider_info) {
+ mojom::EmbeddedWorkerInstanceHostAssociatedPtrInfo instance_host) {
DCHECK(ChildThreadImpl::current());
DCHECK(!wrapper_);
TRACE_EVENT0("ServiceWorker",
"EmbeddedWorkerInstanceClientImpl::StartWorker");
wrapper_ = StartWorkerContext(
- params, base::MakeUnique<ServiceWorkerContextClient>(
- params.embedded_worker_id, params.service_worker_version_id,
- params.scope, params.script_url,
- std::move(dispatcher_request), std::move(instance_host),
- std::move(provider_info), std::move(temporal_self_)));
+ params,
+ base::MakeUnique<ServiceWorkerContextClient>(
+ params.embedded_worker_id, params.service_worker_version_id,
+ params.scope, params.script_url, std::move(dispatcher_request),
+ std::move(instance_host), std::move(temporal_self_)));
}
void EmbeddedWorkerInstanceClientImpl::StopWorker() {

Powered by Google App Engine
This is Rietveld 408576698