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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 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_register_job.cc
diff --git a/content/browser/service_worker/service_worker_register_job.cc b/content/browser/service_worker/service_worker_register_job.cc
index 033232bb40c676d6785a8f4dc5e079f0365b1482..6652fcfebc024ed8cdeadf14c6b2b13f2c8dd6ad 100644
--- a/content/browser/service_worker/service_worker_register_job.cc
+++ b/content/browser/service_worker/service_worker_register_job.cc
@@ -58,7 +58,7 @@ class InstallEventMethodsReceiver
DISALLOW_COPY_AND_ASSIGN(InstallEventMethodsReceiver);
};
-void RunSoon(const base::Closure& closure) {
+void RunSoonFunctionCopy18(const base::Closure& closure) {
base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, closure);
}
@@ -117,7 +117,7 @@ void ServiceWorkerRegisterJob::AddCallback(
provider_host->AddScopedProcessReferenceToPattern(pattern_);
return;
}
- RunSoon(base::Bind(callback, promise_resolved_status_,
+ RunSoonFunctionCopy18(base::Bind(callback, promise_resolved_status_,
promise_resolved_status_message_,
base::RetainedRef(promise_resolved_registration_)));
}
@@ -145,7 +145,7 @@ void ServiceWorkerRegisterJob::StartImpl() {
scoped_refptr<ServiceWorkerRegistration> registration =
context_->storage()->GetUninstallingRegistration(pattern_);
if (registration.get())
- RunSoon(base::Bind(next_step, SERVICE_WORKER_OK, registration));
+ RunSoonFunctionCopy18(base::Bind(next_step, SERVICE_WORKER_OK, registration));
else
context_->storage()->FindRegistrationForPattern(pattern_, next_step);
}

Powered by Google App Engine
This is Rietveld 408576698