mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
Remove the Option<Self> arguments from IDLInterface.
This commit is contained in:
@@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user