bug 1193541 - Revert Bug 1191253 - Start the Link Monitor r=backout
authorPatrick McManus <mcmanus@ducksong.com>
Wed, 12 Aug 2015 15:57:59 -0400
changeset 257584 3c8f6736b07c1a8cc73770b42f2dc98490aa481a
parent 257583 b4ea303cbe27822024cd0587f4b66efecb6d123c
child 257585 09865e4842f8ffd832818bb9ebc641ee131a9841
push id29223
push userkwierso@gmail.com
push dateThu, 13 Aug 2015 22:18:08 +0000
treeherdermozilla-central@4b35236fc76e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1193541, 1191253
milestone43.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 1193541 - Revert Bug 1191253 - Start the Link Monitor r=backout
netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
--- a/netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
+++ b/netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
@@ -309,17 +309,17 @@ nsNotifyAddrListener::Init(void)
 
     nsresult rv = observerService->AddObserver(this, "xpcom-shutdown-threads",
                                                false);
     NS_ENSURE_SUCCESS(rv, rv);
 
     Preferences::AddBoolVarCache(&mAllowChangedEvent,
                                  NETWORK_NOTIFY_CHANGED_PREF, true);
 
-    rv = NS_NewNamedThread("Link Monitor", getter_AddRefs(mThread), this);
+    rv = NS_NewNamedThread("Link Monitor", getter_AddRefs(mThread));
     NS_ENSURE_SUCCESS(rv, rv);
 
 #ifdef MOZ_NUWA_PROCESS
     nsCOMPtr<nsIRunnable> runner = new NuwaMarkLinkMonitorThreadRunner();
     mThread->Dispatch(runner, NS_DISPATCH_NORMAL);
 #endif
 
     if (-1 == pipe(mShutdownPipe)) {