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:
bors-servo 2017-10-14 03:57:03 -05:00 committed by GitHub
commit 8b366a7441

View file

@ -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();
}
}