Diff for /chimera/nsCocoaBrowserService.mm between versions 1.9 and 1.10

version 1.9, 2002/02/25 10:13:04 version 1.10, 2002/04/14 08:43:03
Line 41 Line 41
 #include "nsIWebBrowserChrome.h"  #include "nsIWebBrowserChrome.h"
 #include "nsIEmbeddingSiteWindow.h"  #include "nsIEmbeddingSiteWindow.h"
 #include "nsIProfile.h"  #include "nsIProfile.h"
   #include "nsIPrefService.h"
 #include "NSBrowserView.h"  #include "NSBrowserView.h"
 #include "nsCRT.h"  #include "nsCRT.h"
 #include "nsString.h"  #include "nsString.h"
Line 147  nsCocoaBrowserService::BrowserClosed() Line 148  nsCocoaBrowserService::BrowserClosed()
     if (sCanTerminate && sNumBrowsers == 0) {      if (sCanTerminate && sNumBrowsers == 0) {
         // The app is terminating *and* our count dropped to 0.          // The app is terminating *and* our count dropped to 0.
         NS_IF_RELEASE(sSingleton);          NS_IF_RELEASE(sSingleton);
           nsCOMPtr<nsIPrefService> pref(do_GetService("@mozilla.org/preferences-service;1"));
           pref->SavePrefFile(nsnull);
         NS_TermEmbedding();          NS_TermEmbedding();
         printf("Shutting down embedding!\n");          printf("Shutting down embedding!\n");
     }      }

Removed from v.1.9  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>