mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1719963 - Better wallpaper for now.
Differential Revision: https://phabricator.services.mozilla.com/D120699
This commit is contained in:
parent
66ea60801d
commit
554f7bcc76
@ -64,7 +64,10 @@ impl GeckoStyleSheet {
|
||||
/// bug 1719963 and can hopefully get a useful report from fuzzers.
|
||||
#[inline]
|
||||
pub fn hack_is_null(&self) -> bool {
|
||||
self.0.is_null()
|
||||
debug_assert!(!self.0.is_null());
|
||||
debug_assert!(!self.raw().mInner.is_null());
|
||||
debug_assert!(!self.inner().mContents.mRawPtr.is_null());
|
||||
self.0.is_null() || self.raw().mInner.is_null() || self.inner().mContents.mRawPtr.is_null()
|
||||
}
|
||||
|
||||
/// Get the raw `StyleSheet` that we're wrapping.
|
||||
|
Loading…
Reference in New Issue
Block a user