From 11fedf18d9d2b6677fdd58a0f9d189d2cf7e1e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 10 Oct 2018 20:26:45 +0000 Subject: [PATCH] style: Some more nsCSSValue cleanup. I had this around, I couldn't work on more stuff today, but I may as well land this. Differential Revision: https://phabricator.services.mozilla.com/D8277 --- components/style/gecko_bindings/sugar/ns_css_value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/gecko_bindings/sugar/ns_css_value.rs b/components/style/gecko_bindings/sugar/ns_css_value.rs index ed8892028fe..e06e09f4c38 100644 --- a/components/style/gecko_bindings/sugar/ns_css_value.rs +++ b/components/style/gecko_bindings/sugar/ns_css_value.rs @@ -60,7 +60,7 @@ impl nsCSSValue { pub unsafe fn array_unchecked(&self) -> &nsCSSValue_Array { debug_assert!( nsCSSUnit::eCSSUnit_Array as u32 <= self.mUnit as u32 && - self.mUnit as u32 <= nsCSSUnit::eCSSUnit_Calc_Divided as u32 + self.mUnit as u32 <= nsCSSUnit::eCSSUnit_Calc_Plus as u32 ); let array = *self.mValue.mArray.as_ref(); debug_assert!(!array.is_null());