diff options
-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 fed06fbeec5..f3bb04f6c55 100644 --- a/components/style/gecko_string_cache/mod.rs +++ b/components/style/gecko_string_cache/mod.rs @@ -156,11 +156,8 @@ impl WeakAtom { /// Returns the length of the atom string. #[inline] pub fn len(&self) -> u32 { - // FIXME(emilio): re-introduce bitfield accessors: - // - // https://github.com/servo/rust-bindgen/issues/519 unsafe { - (*self.as_ptr())._bitfield_1 & 0x7FFFFFFF + (*self.as_ptr()).mLength() } } |