Bug 1321374 (follow-up) - Bustage fix. a=bustage.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 21 Dec 2016 10:29:52 +1100
changeset 353090 81a1f25491a65bdf41584a261a3d44607af9ac95
parent 353089 71f746cb740323e4cc0f3039ac2368c59fed0101
child 353091 e6ec59a1128a587af3d45b9d529105cee4e1205d
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1321374
milestone52.0a2
Bug 1321374 (follow-up) - Bustage fix. a=bustage.
js/xpconnect/src/XPCWrappedNativeJSOps.cpp
--- a/js/xpconnect/src/XPCWrappedNativeJSOps.cpp
+++ b/js/xpconnect/src/XPCWrappedNativeJSOps.cpp
@@ -711,25 +711,16 @@ XPC_WN_MaybeResolvingDeletePropertyStub(
         return Throw(rv, cx);                                                 \
     return retval;
 
 #define POST_HELPER_STUB_WITH_OBJECTOPRESULT(failMethod)                      \
     if (NS_FAILED(rv))                                                        \
         return Throw(rv, cx);                                                 \
     return retval ? result.succeed() : result.failMethod();
 
-static bool
-XPC_WN_Helper_AddProperty(JSContext* cx, HandleObject obj, HandleId id,
-                          HandleValue v)
-{
-    PRE_HELPER_STUB
-    AddProperty(wrapper, cx, obj, id, v, &retval);
-    POST_HELPER_STUB
-}
-
 bool
 XPC_WN_Helper_GetProperty(JSContext* cx, HandleObject obj, HandleId id,
                           MutableHandleValue vp)
 {
     PRE_HELPER_STUB
     GetProperty(wrapper, cx, obj, id, vp.address(), &retval);
     POST_HELPER_STUB
 }