From 252ff2f7c5eb3c54c15f545688e0b21cbd62482e Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Sat, 14 Oct 2017 15:45:30 +0800 Subject: [PATCH] style: Remove Servo_GetStyleVariables test special case. --- tests/unit/stylo/build.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/unit/stylo/build.rs b/tests/unit/stylo/build.rs index bb05d97c671..e620bbdf1cc 100644 --- a/tests/unit/stylo/build.rs +++ b/tests/unit/stylo/build.rs @@ -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(); } }