Bug 1105781 - Unbreak unified build after bug 1083648. r=bz, a=sledru
authorJan Beich <jbeich@vfemail.net>
Thu, 27 Nov 2014 10:01:00 +0100
changeset 234120 1caa74d0963e89b9a5952fc4fdd46181bc5784d6
parent 234119 a8c5432d04ce5d7ffa78f0ea6ebbb75e36cd2886
child 234121 b791be231ddaa7c00e8804cdbe0b8296d1f51da9
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersbz, sledru
bugs1105781, 1083648
milestone35.0
Bug 1105781 - Unbreak unified build after bug 1083648. r=bz, a=sledru
js/src/jsfun.cpp
--- a/js/src/jsfun.cpp
+++ b/js/src/jsfun.cpp
@@ -1897,17 +1897,17 @@ FunctionConstructor(JSContext *cx, unsig
                                               ? SourceBufferHolder::GiveOwnership
                                               : SourceBufferHolder::NoOwnership;
     bool ok;
     SourceBufferHolder srcBuf(chars.start().get(), chars.length(), ownership);
     if (isStarGenerator)
         ok = frontend::CompileStarGeneratorBody(cx, &fun, options, formals, srcBuf);
     else
         ok = frontend::CompileFunctionBody(cx, &fun, options, formals, srcBuf,
-                                           /* enclosingScope = */ NullPtr());
+                                           /* enclosingScope = */ js::NullPtr());
     args.rval().setObject(*fun);
     return ok;
 }
 
 bool
 js::Function(JSContext *cx, unsigned argc, Value *vp)
 {
     return FunctionConstructor(cx, argc, vp, NotGenerator);