Bug 1028358 - Follow-up bustage fix. r=terrence, a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 26 Jun 2014 14:38:24 -0400
changeset 208473 248da3015a51ea8cbf4530b8832c363d8f1de479
parent 208472 98a0b7def57a86c22b71d72b1797892a28bae59e
child 208474 8eff2a44f2b20fbdb434de58637978ea39842549
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence, bustage
bugs1028358
milestone32.0a2
Bug 1028358 - Follow-up bustage fix. r=terrence, a=bustage
js/src/jsapi-tests/testWeakMap.cpp
--- a/js/src/jsapi-tests/testWeakMap.cpp
+++ b/js/src/jsapi-tests/testWeakMap.cpp
@@ -175,17 +175,17 @@ JSObject *newCCW(JS::HandleObject source
     /*
      * Now ensure that this zone will be swept first by adding a cross
      * compartment wrapper to a new objct in the same zone as the
      * delegate obejct.
      */
     JS::RootedObject object(cx);
     {
         JSAutoCompartment ac(cx, destZone);
-        object = JS_NewObject(cx, nullptr, NullPtr(), NullPtr());
+        object = JS_NewObject(cx, nullptr, JS::NullPtr(), JS::NullPtr());
         if (!object)
             return nullptr;
     }
     {
         JSAutoCompartment ac(cx, sourceZone);
         if (!JS_WrapObject(cx, &object))
             return nullptr;
     }