mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
r=harishd. Tell the refcounting code that the pref service is instantiated.
This commit is contained in:
parent
a03bdd0283
commit
71b61781f6
@ -551,6 +551,10 @@ static nsresult main1(int argc, char* argv[])
|
||||
if ( CheckAndRunPrefs(cmdLineArgs) )
|
||||
return NS_OK;
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
nsTraceRefcnt::SetPrefServiceAvailability(PR_TRUE);
|
||||
#endif
|
||||
|
||||
// fire up an instance of the cookie manager.
|
||||
// I'm doing this using the serviceManager for convenience's sake.
|
||||
// Presumably an application will init it's own cookie service a
|
||||
|
Loading…
Reference in New Issue
Block a user