mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove Servo_GetStyleVariables test special case.
This commit is contained in:
parent
86a5135ffa
commit
252ff2f7c5
1 changed files with 1 additions and 5 deletions
|
@ -34,11 +34,7 @@ fn main() {
|
|||
for line in r.lines() {
|
||||
let s = line.unwrap();
|
||||
for cap in matcher.captures_iter(&s) {
|
||||
// GetStyleVariables is a Servo_* function, but temporarily defined
|
||||
// on the Gecko side.
|
||||
if &cap[1] != "GetStyleVariables" {
|
||||
w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap();
|
||||
}
|
||||
w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue