diff options
author | cku <cku@mozilla.com> | 2017-05-09 16:46:47 +0800 |
---|---|---|
committer | cku <cku@mozilla.com> | 2017-05-09 16:46:47 +0800 |
commit | 7d1ef34698cb16ee1a7dab838066431765000154 (patch) | |
tree | c0f327447d87b31336e3a0c3f7bd53296d4539c2 /components/style/build_gecko.rs | |
parent | 9c9bd178713a1def9bec57e7f96e3365252c0f88 (diff) | |
download | servo-7d1ef34698cb16ee1a7dab838066431765000154.tar.gz servo-7d1ef34698cb16ee1a7dab838066431765000154.zip |
stylo: Export RefPtr<ImageValue> to stylo.
Diffstat (limited to 'components/style/build_gecko.rs')
-rw-r--r-- | components/style/build_gecko.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs index af8d1c72252..5d782e9bc25 100644 --- a/components/style/build_gecko.rs +++ b/components/style/build_gecko.rs @@ -777,11 +777,6 @@ mod bindings { "RawGeckoServoStyleRuleList", ]; for &ty in structs_types.iter() { - // XXX cku: will be removed in Part 2. - if ty.starts_with("mozilla::css::ImageValue") { - builder = builder - .raw_line("#[allow(unused_imports)]"); - } builder = builder.hide_type(ty) .raw_line(format!("use gecko_bindings::structs::{};", ty)); // TODO this is hacky, figure out a better way to do it without |