Bug 864775 - Build fix for wrapper API changes between 18 and m-c.
authorJosh Matthews <josh@joshmatthews.net>
Tue, 23 Apr 2013 17:29:30 +0200
changeset 140524 86018e20f5c88e38688dcd574ce5d06c27dc9ce5
parent 140523 5a62b421e490742fa54cff76c1d0d3380d355e3b
child 140525 4676b8c35f46cf69769d289ec364983594e9b082
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs864775
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 864775 - Build fix for wrapper API changes between 18 and m-c.
dom/network/src/TCPSocketChild.cpp
--- a/dom/network/src/TCPSocketChild.cpp
+++ b/dom/network/src/TCPSocketChild.cpp
@@ -78,17 +78,17 @@ TCPSocketChild::TCPSocketChild()
 NS_IMETHODIMP
 TCPSocketChild::Open(nsITCPSocketInternal* aSocket, const nsAString& aHost,
                      uint16_t aPort, bool aUseSSL, const nsAString& aBinaryType,
                      nsIDOMWindow* aWindow, const JS::Value& aSocketObj,
                      JSContext* aCx)
 {
   mSocket = aSocket;
   MOZ_ASSERT(aSocketObj.isObject());
-  mSocketObj = js::UnwrapObjectChecked(aCx, &aSocketObj.toObject());
+  mSocketObj = js::CheckedUnwrap(&aSocketObj.toObject());
   if (!mSocketObj) {
     return NS_ERROR_FAILURE;
   }
   AddIPDLReference();
   gNeckoChild->SendPTCPSocketConstructor(this, nsString(aHost), aPort,
                                          aUseSSL, nsString(aBinaryType),
                                          GetTabChildFrom(aWindow));
   return NS_OK;