mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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
This commit is contained in:
parent
9865a4194c
commit
11fedf18d9
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue