mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Privatize InheritTypes
This commit is contained in:
parent
acd98a73a4
commit
9a52bb8310
80 changed files with 252 additions and 101 deletions
|
@ -5452,7 +5452,7 @@ class GlobalGenRoots():
|
|||
protoDescriptor = config.getDescriptor(protoName)
|
||||
delegate = string.Template('''impl ${selfName} for ${baseName} {
|
||||
fn ${fname}(&self) -> bool {
|
||||
self.${parentName}.${fname}()
|
||||
self.${parentName}().${fname}()
|
||||
}
|
||||
}
|
||||
''').substitute({'fname': 'is_' + name.lower(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue