Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Backed out changeset 8f489e406701 (bug 822135) for m(dt) failures CLO…
Browse files Browse the repository at this point in the history
…SED TREE
  • Loading branch information
KWierso committed Oct 2, 2015
1 parent 661f8d9 commit c0ddea6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tools/profiler/gecko/nsProfiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using mozilla::ErrorResult;
using mozilla::dom::Promise;
using std::string;

NS_IMPL_ISUPPORTS(nsProfiler, nsIProfiler, nsISupportsWeakReference)
NS_IMPL_ISUPPORTS(nsProfiler, nsIProfiler)

nsProfiler::nsProfiler()
: mLockedForPrivateBrowsing(false)
Expand All @@ -44,8 +44,8 @@ nsresult
nsProfiler::Init() {
nsCOMPtr<nsIObserverService> observerService = mozilla::services::GetObserverService();
if (observerService) {
observerService->AddObserver(this, "chrome-document-global-created", true);
observerService->AddObserver(this, "last-pb-context-exited", true);
observerService->AddObserver(this, "chrome-document-global-created", false);
observerService->AddObserver(this, "last-pb-context-exited", false);
}
return NS_OK;
}
Expand Down
5 changes: 1 addition & 4 deletions tools/profiler/gecko/nsProfiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@

#include "nsIProfiler.h"
#include "nsIObserver.h"
#include "nsWeakReference.h"
#include "mozilla/Attributes.h"

class nsProfiler final : public nsIProfiler
, public nsIObserver
, public nsSupportsWeakReference
class nsProfiler final : public nsIProfiler, public nsIObserver
{
public:
nsProfiler();
Expand Down

0 comments on commit c0ddea6

Please sign in to comment.