mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #18873 - heycam:rm-gsv-check, r=emilio
style: Remove Servo_GetStyleVariables test special case. This function disappeared a while ago. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18873) <!-- Reviewable:end -->
This commit is contained in:
commit
8b366a7441
1 changed files with 1 additions and 5 deletions
|
@ -34,13 +34,9 @@ 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(b"}\n").unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue