aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-29 18:48:48 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-29 18:48:48 +0100
commitd7af3da919f95e616b61626763981b6d180d7cbe (patch)
tree645e15342459914bb17a2400f8fc5e59a5de1f08 /components/script/dom/bindings/codegen/CodegenRust.py
parent23813577d1414f8466bc0d4fd5e83948403bd934 (diff)
downloadservo-d7af3da919f95e616b61626763981b6d180d7cbe.tar.gz
servo-d7af3da919f95e616b61626763981b6d180d7cbe.zip
Rename CreateInterfaceObjects2 to do_create_interface_objects.
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r--components/script/dom/bindings/codegen/CodegenRust.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py
index 6dc8ece7f55..082ab972f5b 100644
--- a/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/components/script/dom/bindings/codegen/CodegenRust.py
@@ -2001,10 +2001,10 @@ class CGCreateInterfaceObjectsMethod(CGAbstractMethod):
constructor = 'None'
call = """\
-return CreateInterfaceObjects2(aCx, aGlobal, aReceiver, parentProto,
- &PrototypeClass, %s,
- %s,
- &sNativeProperties);""" % (constructor, domClass)
+return do_create_interface_objects(aCx, aGlobal, aReceiver, parentProto,
+ &PrototypeClass, %s,
+ %s,
+ &sNativeProperties);""" % (constructor, domClass)
return CGList([
CGGeneric(getParentProto),
@@ -4548,7 +4548,7 @@ class CGBindingRoot(CGThing):
'dom::bindings::js::{JS, JSRef, Root, RootedReference, Temporary}',
'dom::bindings::js::{OptionalRootable, OptionalRootedRootable, ResultRootable}',
'dom::bindings::js::{OptionalRootedReference, OptionalOptionalRootedRootable}',
- 'dom::bindings::utils::{CreateDOMGlobal, CreateInterfaceObjects2}',
+ 'dom::bindings::utils::{CreateDOMGlobal, do_create_interface_objects}',
'dom::bindings::utils::ConstantSpec',
'dom::bindings::utils::{DOMClass}',
'dom::bindings::utils::{DOMJSClass, JSCLASS_DOM_GLOBAL}',