зеркало из https://github.com/mozilla/gecko-dev.git
Bug 459776 - date formatter is unused
This changeset removes a small part of code that places does in startup that is not used or needed. r=dietrich
This commit is contained in:
Родитель
c2c58ede5b
Коммит
cf3da2eccf
|
@ -462,10 +462,6 @@ nsNavHistory::Init()
|
||||||
getter_AddRefs(mBundle));
|
getter_AddRefs(mBundle));
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
// date formatter
|
|
||||||
mDateFormatter = do_CreateInstance(NS_DATETIMEFORMAT_CONTRACTID, &rv);
|
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
|
||||||
|
|
||||||
// initialize idle timer
|
// initialize idle timer
|
||||||
InitializeIdleTimer();
|
InitializeIdleTimer();
|
||||||
|
|
||||||
|
|
|
@ -250,8 +250,6 @@ public:
|
||||||
nsIStringBundle* GetBundle()
|
nsIStringBundle* GetBundle()
|
||||||
{ return mBundle; }
|
{ return mBundle; }
|
||||||
nsICollation* GetCollation();
|
nsICollation* GetCollation();
|
||||||
nsIDateTimeFormat* GetDateFormatter()
|
|
||||||
{ return mDateFormatter; }
|
|
||||||
void GetStringFromName(const PRUnichar* aName, nsACString& aResult);
|
void GetStringFromName(const PRUnichar* aName, nsACString& aResult);
|
||||||
|
|
||||||
// returns true if history has been disabled
|
// returns true if history has been disabled
|
||||||
|
@ -634,7 +632,6 @@ protected:
|
||||||
// localization
|
// localization
|
||||||
nsCOMPtr<nsIStringBundle> mBundle;
|
nsCOMPtr<nsIStringBundle> mBundle;
|
||||||
nsCOMPtr<nsICollation> mCollation;
|
nsCOMPtr<nsICollation> mCollation;
|
||||||
nsCOMPtr<nsIDateTimeFormat> mDateFormatter;
|
|
||||||
|
|
||||||
// annotation service : MAY BE NULL!
|
// annotation service : MAY BE NULL!
|
||||||
//nsCOMPtr<mozIAnnotationService> mAnnotationService;
|
//nsCOMPtr<mozIAnnotationService> mAnnotationService;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче