mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
fix the orange by changing the timers to member variables of the service singletons, rather
than static nsCOMPtrs! r=sspitzer a=fixing bustage
This commit is contained in:
parent
8b0edc8d91
commit
4c22bc7a46
@ -1582,8 +1582,6 @@ BookmarkParser::setFolderHint(nsIRDFResource *newSource, nsIRDFResource *objType
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// BookmarkDataSourceImpl
|
||||
|
||||
nsCOMPtr<nsITimer> nsBookmarksService::mTimer;
|
||||
|
||||
nsBookmarksService::nsBookmarksService()
|
||||
: mInner(nsnull), mBookmarksAvailable(PR_FALSE), mDirty(PR_FALSE), mUpdateBatchNest(0)
|
||||
|
||||
|
@ -58,7 +58,7 @@ protected:
|
||||
nsCOMPtr<nsIStringBundle> mBundle;
|
||||
nsString mPersonalToolbarName;
|
||||
PRInt32 mUpdateBatchNest;
|
||||
static nsCOMPtr<nsITimer> mTimer;
|
||||
nsCOMPtr<nsITimer> mTimer;
|
||||
|
||||
#ifdef XP_MAC
|
||||
PRBool mIEFavoritesAvailable;
|
||||
|
@ -314,7 +314,6 @@ nsCOMPtr<nsIRDFDataSource> InternetSearchDataSource::categoryDataSource;
|
||||
PRBool InternetSearchDataSource::mEngineListBuilt;
|
||||
nsCOMPtr<nsILoadGroup> InternetSearchDataSource::mBackgroundLoadGroup;
|
||||
nsCOMPtr<nsILoadGroup> InternetSearchDataSource::mLoadGroup;
|
||||
nsCOMPtr<nsITimer> InternetSearchDataSource::mTimer;
|
||||
nsCOMPtr<nsIPref> InternetSearchDataSource::prefs;
|
||||
|
||||
nsIRDFResource *InternetSearchDataSource::kNC_SearchResult;
|
||||
|
@ -99,7 +99,7 @@ protected:
|
||||
static nsIRDFDataSource *mInner;
|
||||
static nsCOMPtr<nsIRDFDataSource> mLocalstore;
|
||||
static nsCOMPtr<nsISupportsArray> mUpdateArray;
|
||||
static nsCOMPtr<nsITimer> mTimer;
|
||||
nsCOMPtr<nsITimer> mTimer;
|
||||
static nsCOMPtr<nsILoadGroup> mBackgroundLoadGroup;
|
||||
static nsCOMPtr<nsILoadGroup> mLoadGroup;
|
||||
static nsCOMPtr<nsIRDFDataSource> categoryDataSource;
|
||||
|
Loading…
Reference in New Issue
Block a user