mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
Use get_desired_proto in htmlconstructor (#31600)
* Use get_desired_proto in htmlconstructor * Update expectations
This commit is contained in:
parent
f44cefa816
commit
099bb0fa19
6 changed files with 15 additions and 106 deletions
|
@ -6160,8 +6160,9 @@ let global = DomRoot::downcast::<dom::types::%s>(global).unwrap();
|
|||
cx,
|
||||
&args,
|
||||
&*global,
|
||||
GetProtoObject,
|
||||
)""" % self.descriptor.name)
|
||||
PrototypeList::ID::%s,
|
||||
CreateInterfaceObjects,
|
||||
)""" % (self.descriptor.name, MakeNativeName(self.descriptor.name)))
|
||||
else:
|
||||
ctorName = GetConstructorNameForReporting(self.descriptor, self.constructor)
|
||||
preamble += """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue