Skip to content

Commit

Permalink
Bug 567521: back out part of patch from bug 560095 (changeset 79cbadb…
Browse files Browse the repository at this point in the history
…26768) to fix winEmbed bustage
  • Loading branch information
gavinsharp committed May 28, 2010
1 parent 4e41843 commit e4041a2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include "nsISupportsUtils.h"
#include "nsISimpleEnumerator.h"
#include "nsIObserverService.h"
#include "mozilla/Services.h"

// File Name Defines

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit e4041a2

Please sign in to comment.