summaryrefslogtreecommitdiffstats
path: root/dom/base/ContentProcessMessageManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/ContentProcessMessageManager.cpp')
-rw-r--r--dom/base/ContentProcessMessageManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/ContentProcessMessageManager.cpp b/dom/base/ContentProcessMessageManager.cpp
index 7fe9f4c2c7..7661d1036f 100644
--- a/dom/base/ContentProcessMessageManager.cpp
+++ b/dom/base/ContentProcessMessageManager.cpp
@@ -6,7 +6,6 @@
#include "ContentProcessMessageManager.h"
-#include "nsContentCID.h"
#include "mozilla/dom/ContentChild.h"
#include "mozilla/dom/MessageManagerBinding.h"
#include "mozilla/dom/ParentProcessMessageManager.h"
@@ -31,7 +30,7 @@ ContentProcessMessageManager::~ContentProcessMessageManager() {
ContentProcessMessageManager* ContentProcessMessageManager::Get() {
nsCOMPtr<nsIMessageSender> service =
- do_GetService(NS_CHILDPROCESSMESSAGEMANAGER_CONTRACTID);
+ do_GetService("@mozilla.org/childprocessmessagemanager;1");
if (!service) {
return nullptr;
}