зеркало из 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));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// date formatter
|
||||
mDateFormatter = do_CreateInstance(NS_DATETIMEFORMAT_CONTRACTID, &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// initialize idle timer
|
||||
InitializeIdleTimer();
|
||||
|
||||
|
|
|
@ -250,8 +250,6 @@ public:
|
|||
nsIStringBundle* GetBundle()
|
||||
{ return mBundle; }
|
||||
nsICollation* GetCollation();
|
||||
nsIDateTimeFormat* GetDateFormatter()
|
||||
{ return mDateFormatter; }
|
||||
void GetStringFromName(const PRUnichar* aName, nsACString& aResult);
|
||||
|
||||
// returns true if history has been disabled
|
||||
|
@ -634,7 +632,6 @@ protected:
|
|||
// localization
|
||||
nsCOMPtr<nsIStringBundle> mBundle;
|
||||
nsCOMPtr<nsICollation> mCollation;
|
||||
nsCOMPtr<nsIDateTimeFormat> mDateFormatter;
|
||||
|
||||
// annotation service : MAY BE NULL!
|
||||
//nsCOMPtr<mozIAnnotationService> mAnnotationService;
|
||||
|
|
Загрузка…
Ссылка в новой задаче