Add missing 'return true;' to fix the build.
authorMs2ger <ms2ger@gmail.com>
Mon, 13 Feb 2012 22:56:05 +0100
changeset 86817 54ad6268014c39a07498c2e99b85ac43369b568e
parent 86816 cfb376b59c08e8db24acc29992d48bc95d44cc2c
child 86818 0824a12c5564992db4685507c0915273afbf87cd
push id120
push userMs2ger@gmail.com
push dateMon, 13 Feb 2012 21:58:34 +0000
milestone13.0a1
Add missing 'return true;' to fix the build.
dom/bindings/Codegen.py
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -791,17 +791,17 @@ def getWrapTemplateForTypeImpl(type, res
 
     if (isinstance(type, IDLCallbackType) or
         (isinstance(type, IDLWrapperType) and
          isinstance(type.inner, IDLCallbackType))):
         # XXXbz we're going to assume that callback types are always
         # nullable and always have [TreatNonCallableAsNull] for now.
         return """
   ${jsvalRef} = JS::ObjectOrNullValue(%s);
-""" % result
+  return true;""" % result
 
     if not type.isPrimitive():
         return """
   // XXXbz need to learn to wrap %s
   return false;""" % type
 
     if type.nullable():
         return """