mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove the Option<Self> arguments from IDLInterface.
This commit is contained in:
parent
dc31d96f65
commit
c58213b698
2 changed files with 6 additions and 8 deletions
|
@ -1920,10 +1920,10 @@ class CGIDLInterface(CGThing):
|
|||
}
|
||||
return string.Template("""\
|
||||
impl IDLInterface for ${type} {
|
||||
fn get_prototype_id(_: Option<${type}>) -> PrototypeList::ID {
|
||||
fn get_prototype_id() -> PrototypeList::ID {
|
||||
PrototypeList::ID::${type}
|
||||
}
|
||||
fn get_prototype_depth(_: Option<${type}>) -> uint {
|
||||
fn get_prototype_depth() -> uint {
|
||||
${depth}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue