Bug 998706 - Use proper namespace qualification of MessagePort within NS_IMPL_ADDREF_INHERITED. r=bent
authorISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
Mon, 21 Apr 2014 09:34:36 -0400
changeset 179796 57da6f0d047e935a1242fde9d8c09372dd7a3ceb
parent 179795 dc2154549c6696e9f0f6e9814851c1caa9a99a05
child 179797 7010324e6153de232e01fe53ce555ca85f84fdce
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersbent
bugs998706
milestone31.0a1
Bug 998706 - Use proper namespace qualification of MessagePort within NS_IMPL_ADDREF_INHERITED. r=bent
dom/workers/MessagePort.cpp
--- a/dom/workers/MessagePort.cpp
+++ b/dom/workers/MessagePort.cpp
@@ -212,18 +212,18 @@ MessagePort::AssertCorrectThread() const
     AssertIsOnMainThread();
   }
   else {
     mWorkerPrivate->AssertIsOnWorkerThread();
   }
 }
 #endif
 
-NS_IMPL_ADDREF_INHERITED(MessagePort, DOMEventTargetHelper)
-NS_IMPL_RELEASE_INHERITED(MessagePort, DOMEventTargetHelper)
+NS_IMPL_ADDREF_INHERITED(mozilla::dom::workers::MessagePort, DOMEventTargetHelper)
+NS_IMPL_RELEASE_INHERITED(mozilla::dom::workers::MessagePort, DOMEventTargetHelper)
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(MessagePort)
 NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper)
 
 NS_IMPL_CYCLE_COLLECTION_CLASS(MessagePort)
 
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(MessagePort,
                                                   DOMEventTargetHelper)