Bug 1191253 - Start the "Link Monitor" thread appropriately. r=mcmanus

This commit is contained in:
Daniel Stenberg 2015-08-05 03:13:00 -04:00
parent 5e3ace8478
commit 825ec93fa4

View File

@ -314,7 +314,7 @@ nsNotifyAddrListener::Init(void)
Preferences::AddBoolVarCache(&mAllowChangedEvent, Preferences::AddBoolVarCache(&mAllowChangedEvent,
NETWORK_NOTIFY_CHANGED_PREF, true); NETWORK_NOTIFY_CHANGED_PREF, true);
rv = NS_NewNamedThread("Link Monitor", getter_AddRefs(mThread)); rv = NS_NewNamedThread("Link Monitor", getter_AddRefs(mThread), this);
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
#ifdef MOZ_NUWA_PROCESS #ifdef MOZ_NUWA_PROCESS