Bug 458936: Followup to complete renaming.
authorKyle Huey <khuey@kylehuey.com>
Wed, 10 Aug 2011 06:09:06 -0400
changeset 74953 b8ed3bb885a7b1a807550c7c4cd949bb97b65ca9
parent 74952 1a9b3ace8c68e0c53589900f34e0a60cb178d564
child 74954 d5ecf10070d010fb875917e2b48da20856054cc6
push id235
push userbzbarsky@mozilla.com
push dateTue, 27 Sep 2011 17:13:04 +0000
treeherdermozilla-beta@2d1e082d176a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs458936
milestone8.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 458936: Followup to complete renaming.
xpcom/idl-parser/typelib.py
--- a/xpcom/idl-parser/typelib.py
+++ b/xpcom/idl-parser/typelib.py
@@ -211,26 +211,26 @@ def build_interface(iface, ifaces):
                                   getter=False, setter=False, notxpcom=m.notxpcom,
                                   constructor=False, hidden=m.noscript,
                                   optargc=m.optional_argc,
                                   implicit_jscontext=m.implicit_jscontext))
 
     def build_attr(a):
         # Write the getter
         methods.append(xpt.Method(a.name, build_nsresult_param(),
-                                  [build_attr_param(a, get=True)],
+                                  [build_attr_param(a, getter=True)],
                                   getter=True, setter=False, notxpcom=a.notxpcom,
                                   constructor=False, hidden=a.noscript,
                                   optargc=False,
                                   implict_jscontext=a.implicit_jscontext))
 
         # And maybe the setter
         if not a.readonly:
             methods.append(xpt.Method(a.name, build_nsresult_param(),
-                                      [build_attr_param(a, set=True)],
+                                      [build_attr_param(a, setter=True)],
                                       getter=False, setter=True, notxpcom=a.notxpcom,
                                       constructor=False, hidden=a.noscript,
                                       optargc=False,
                                       implicit_jscontext=a.implicit_jscontext))
 
     for member in iface.members:
         if isinstance(member, xpidl.ConstMember):
             build_const(member)