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:
dp%netscape.com 2000-02-08 06:12:37 +00:00
Родитель 1a3c407891
Коммит 968c3dfcc6
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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();