Handle None transform properly.

If the transform is None, we should return a valid None transform.
This commit is contained in:
Boris Chiou 2017-05-19 16:08:08 +08:00
parent 63dc43648e
commit 013b4a7fd0
2 changed files with 13 additions and 1 deletions

View file

@ -1187,6 +1187,9 @@ extern "C" {
extern "C" {
pub fn Gecko_NewCSSValueSharedList(len: u32) -> *mut nsCSSValueSharedList;
}
extern "C" {
pub fn Gecko_NewNoneTransform() -> *mut nsCSSValueSharedList;
}
extern "C" {
pub fn Gecko_CSSValue_GetArrayItem(css_value: nsCSSValueBorrowedMut,
index: i32) -> nsCSSValueBorrowedMut;