diff options
Diffstat (limited to 'components/style/gecko_string_cache/mod.rs')
-rw-r--r-- | components/style/gecko_string_cache/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs index 4973428f1e8..79c4ef02138 100644 --- a/components/style/gecko_string_cache/mod.rs +++ b/components/style/gecko_string_cache/mod.rs @@ -148,11 +148,8 @@ impl WeakAtom { /// Returns whether this atom is static. #[inline] pub fn is_static(&self) -> bool { - // FIXME(emilio): re-introduce bitfield accessors: - // - // https://github.com/servo/rust-bindgen/issues/519 unsafe { - ((*self.as_ptr())._bitfield_1 & (0x80000000 as u32)) != 0 + (*self.as_ptr()).mIsStatic() != 0 } } |