Bug 567521: back out part of patch from bug 560095 (changeset 79cbadb26768) to fix winEmbed bustage
--HG-- extra : rebase_source : 7865ac26aa145ae7d05c0e41bd704dddd2d5aa0a
This commit is contained in:
Родитель
ff99f6f82d
Коммит
4c771e5f22
|
@ -45,7 +45,6 @@
|
|||
#include "nsISupportsUtils.h"
|
||||
#include "nsISimpleEnumerator.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
// File Name Defines
|
||||
|
||||
|
@ -128,7 +127,7 @@ nsProfileDirServiceProvider::SetProfileDir(nsIFile* aProfileDir,
|
|||
|
||||
if (mNotifyObservers) {
|
||||
nsCOMPtr<nsIObserverService> observerService =
|
||||
mozilla::services::GetObserverService();
|
||||
do_GetService("@mozilla.org/observer-service;1");
|
||||
if (!observerService)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
@ -159,7 +158,7 @@ nsProfileDirServiceProvider::Shutdown()
|
|||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIObserverService> observerService =
|
||||
mozilla::services::GetObserverService();
|
||||
do_GetService("@mozilla.org/observer-service;1");
|
||||
if (!observerService)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче