Bug 1458953 Remove a verbose warning from ServiceWorkerRegistrationImpl. r=baku
authorBen Kelly <ben@wanderview.com>
Fri, 04 May 2018 06:34:41 -0700
changeset 473014 f6cb88fc621fdc8be0b9426ef9d35becf5321f70
parent 473013 85dfda425103a8fdce2b28d0ca7fae92044283ef
child 473015 86d1e26507dbe15f9b93fb4ba87be152d1f7b0be
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1458953
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1458953 Remove a verbose warning from ServiceWorkerRegistrationImpl. r=baku
dom/serviceworkers/ServiceWorkerRegistrationImpl.cpp
--- a/dom/serviceworkers/ServiceWorkerRegistrationImpl.cpp
+++ b/dom/serviceworkers/ServiceWorkerRegistrationImpl.cpp
@@ -926,17 +926,17 @@ WorkerListener::RegistrationRemoved()
   MutexAutoLock lock(mMutex);
   if (!mRegistration) {
     return;
   }
 
   if (NS_IsMainThread()) {
     RefPtr<WorkerRunnable> r =
       new RegistrationRemovedWorkerRunnable(mRegistration->GetWorkerPrivate(lock), this);
-    Unused << NS_WARN_IF(!r->Dispatch());
+    Unused << r->Dispatch();
 
     StopListeningForEvents();
     return;
   }
 
   mRegistration->RegistrationRemoved();
 }