mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Port the style crate to rust 2018.
Differential Revision: https://phabricator.services.mozilla.com/D80101
This commit is contained in:
parent
9b980e2f49
commit
8f215a8444
9 changed files with 18 additions and 14 deletions
|
@ -371,7 +371,7 @@ trait PrivateMatchMethods: TElement {
|
|||
// since we have no way to know whether the decendants
|
||||
// need to be traversed at the beginning of the animation-only
|
||||
// restyle).
|
||||
let task = ::context::SequentialTask::process_post_animation(
|
||||
let task = crate::context::SequentialTask::process_post_animation(
|
||||
*self,
|
||||
PostAnimationTasks::DISPLAY_CHANGED_FROM_NONE_FOR_SMIL,
|
||||
);
|
||||
|
@ -464,8 +464,11 @@ trait PrivateMatchMethods: TElement {
|
|||
}
|
||||
|
||||
if !tasks.is_empty() {
|
||||
let task =
|
||||
::context::SequentialTask::update_animations(*self, before_change_style, tasks);
|
||||
let task = crate::context::SequentialTask::update_animations(
|
||||
*self,
|
||||
before_change_style,
|
||||
tasks,
|
||||
);
|
||||
context.thread_local.tasks.push(task);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue