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

Unified Diff: content/browser/service_worker/service_worker_internals_ui.cc

Issue 238043002: Teach EmbeddedWorkerInstance to create a process when it needs one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Null out browser_context_ in Shutdown Created 6 years, 8 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/browser/service_worker/service_worker_internals_ui.cc
diff --git a/content/browser/service_worker/service_worker_internals_ui.cc b/content/browser/service_worker/service_worker_internals_ui.cc
index 950816c6baa92034a1493903249288236bb07c2b..1980cf34132624d142ac5a7839dcb665e2d6df1e 100644
--- a/content/browser/service_worker/service_worker_internals_ui.cc
+++ b/content/browser/service_worker/service_worker_internals_ui.cc
@@ -567,8 +567,10 @@ void ServiceWorkerInternalsUI::OperationProxy::StartActiveWorker(
const scoped_refptr<ServiceWorkerRegistration>& registration) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (status == SERVICE_WORKER_OK) {
- registration->active_version()->StartWorker(base::Bind(
- &ServiceWorkerInternalsUI::OperationProxy::OperationComplete, this));
+ registration->active_version()->StartWorker(
+ base::Bind(&ServiceWorkerInternalsUI::OperationProxy::OperationComplete,
+ this),
+ std::vector<int>());
return;
}

Powered by Google App Engine
This is Rietveld 408576698