Implement Gecko_StyleAnimationsEquals for checking nsStyleAutoArray<StyleAnimation> equality in servo side.

Later we update CSS animations if this function returns false.
This commit is contained in:
Hiroyuki Ikezoe 2017-03-10 11:07:03 +09:00
parent 95b73b979e
commit d8f08b80e0
5 changed files with 24 additions and 0 deletions

View file

@ -25490,6 +25490,8 @@ pub mod root {
root::nsTArray<root::mozilla::PropertyStyleAnimationValuePair>;
pub type RawServoAnimationValueBorrowedList =
root::nsTArray<*const root::RawServoAnimationValue>;
pub type RawGeckoStyleAnimationList =
root::nsStyleAutoArray<root::mozilla::StyleAnimation>;
pub type RawGeckoNodeBorrowed = *const root::RawGeckoNode;
pub type RawGeckoNodeBorrowedOrNull = *const root::RawGeckoNode;
pub type RawGeckoElementBorrowed = *const root::RawGeckoElement;
@ -25508,6 +25510,8 @@ pub mod root {
pub type RawGeckoKeyframeListBorrowed = *const root::RawGeckoKeyframeList;
pub type RawGeckoComputedKeyframeValuesListBorrowedMut =
*mut root::RawGeckoComputedKeyframeValuesList;
pub type RawGeckoStyleAnimationListBorrowed =
*const root::RawGeckoStyleAnimationList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ElementRuleProcessorData([u8; 0]);