зеркало из https://github.com/mozilla/gecko-dev.git
Eliminate all trace of cookies from apprunner. It gets lazily created
when the first http connection is opened. r=gagan
This commit is contained in:
Родитель
7afeaae750
Коммит
a3e9d698ad
|
@ -47,7 +47,6 @@
|
|||
#include "nsSpecialSystemDirectory.h"
|
||||
#include "nsIWalletService.h"
|
||||
#include "nsIWebShell.h"
|
||||
#include "nsICookieService.h"
|
||||
#include "nsIWindowMediator.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsIClipboard.h"
|
||||
|
@ -539,14 +538,6 @@ static nsresult main1(int argc, char* argv[], nsISplashScreen *splashScreen )
|
|||
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
|
||||
// different way (this way works too though).
|
||||
nsCOMPtr<nsICookieService> cookieService = do_GetService(NS_COOKIESERVICE_PROGID, &rv);
|
||||
// quiet the compiler
|
||||
(void)cookieService;
|
||||
|
||||
// Enumerate AppShellComponenets
|
||||
appShell->EnumerateAndInitializeComponents();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче