diff options
Diffstat (limited to 'components/style/gecko/data.rs')
-rw-r--r-- | components/style/gecko/data.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/style/gecko/data.rs b/components/style/gecko/data.rs index 65c7dc71012..50c827bf62f 100644 --- a/components/style/gecko/data.rs +++ b/components/style/gecko/data.rs @@ -125,11 +125,7 @@ impl StylesheetInDocument for GeckoStyleSheet { #[inline] fn contents(&self) -> &StylesheetContents { debug_assert!(!self.inner().mContents.mRawPtr.is_null()); - unsafe { - let contents = - (&**StylesheetContents::as_arc(&&*self.inner().mContents.mRawPtr)) as *const _; - &*contents - } + unsafe { &*self.inner().mContents.mRawPtr } } } |