зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1410209, part 2 - Disambiguate some service worker runnable names. r=bkelly
With part 3, these names are used to identify the runnables to the XPCOM leak checking system. There are some other classes that already use a few of these names, so change them to something unique. MozReview-Commit-ID: 5AN7tG5yKBk --HG-- extra : rebase_source : a875c9c5f788e9c47e3b150d8fc31186caa591e4
This commit is contained in:
Родитель
81ee922c58
Коммит
770567bc01
|
@ -227,7 +227,7 @@ ServiceWorkerJob::Finish(ErrorResult& aRv)
|
|||
|
||||
// Async release this object to ensure that our caller methods complete
|
||||
// as well.
|
||||
NS_ReleaseOnMainThreadSystemGroup("ServiceWorkerJob",
|
||||
NS_ReleaseOnMainThreadSystemGroup("ServiceWorkerJobProxyRunnable",
|
||||
kungFuDeathGrip.forget(), true /* always proxy */);
|
||||
}
|
||||
|
||||
|
|
|
@ -1017,7 +1017,7 @@ ServiceWorkerPrivate::SendPushEvent(const nsAString& aMessageId,
|
|||
|
||||
nsMainThreadPtrHandle<ServiceWorkerRegistrationInfo> regInfo(
|
||||
new nsMainThreadPtrHolder<ServiceWorkerRegistrationInfo>(
|
||||
"ServiceWorkerRegistrationInfo", aRegistration, false));
|
||||
"ServiceWorkerRegistrationInfoProxy", aRegistration, false));
|
||||
|
||||
RefPtr<WorkerRunnable> r = new SendPushEventRunnable(mWorkerPrivate,
|
||||
token,
|
||||
|
@ -1760,7 +1760,7 @@ ServiceWorkerPrivate::SendFetchEvent(nsIInterceptedChannel* aChannel,
|
|||
|
||||
nsMainThreadPtrHandle<ServiceWorkerRegistrationInfo> regInfo(
|
||||
new nsMainThreadPtrHolder<ServiceWorkerRegistrationInfo>(
|
||||
"ServiceWorkerRegistrationInfo", registration, false));
|
||||
"ServiceWorkerRegistrationInfoProxy", registration, false));
|
||||
|
||||
RefPtr<KeepAliveToken> token = CreateEventKeepAliveToken();
|
||||
|
||||
|
|
|
@ -285,7 +285,7 @@ ServiceWorkerRegistrationInfo::Activate()
|
|||
|
||||
nsMainThreadPtrHandle<ServiceWorkerRegistrationInfo> handle(
|
||||
new nsMainThreadPtrHolder<ServiceWorkerRegistrationInfo>(
|
||||
"ServiceWorkerRegistrationInfo", this));
|
||||
"ServiceWorkerRegistrationInfoProxy", this));
|
||||
RefPtr<LifeCycleEventCallback> callback = new ContinueActivateRunnable(handle);
|
||||
|
||||
ServiceWorkerPrivate* workerPrivate = mActiveWorker->WorkerPrivate();
|
||||
|
|
Загрузка…
Ссылка в новой задаче