Bug 1460861 - Update for API change in WR PR 2750. r=Gankro

MozReview-Commit-ID: F0T9oudhunt

--HG--
extra : rebase_source : 1156a8bf23919e5b49465c42ba2227a3408b30c5
This commit is contained in:
Kartikaya Gupta 2018-05-14 10:25:27 -04:00
Родитель d76b5fa54a
Коммит 948e9e9519
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1637,8 +1637,8 @@ pub extern "C" fn wr_dp_push_stacking_context(state: &mut WrState,
if let Some(anim) = anim {
debug_assert!(anim.id > 0);
match anim.effect_type {
WrAnimationType::Opacity => filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(anim.id)), 1.0)),
WrAnimationType::Transform => transform_binding = Some(PropertyBinding::Binding(PropertyBindingKey::new(anim.id))),
WrAnimationType::Opacity => filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(anim.id), 1.0), 1.0)),
WrAnimationType::Transform => transform_binding = Some(PropertyBinding::Binding(PropertyBindingKey::new(anim.id), LayoutTransform::identity())),
}
}