mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +01:00
Replace OpaqueNodeMethods::from_{threadsafe_,}layout_node by opaque methods.
This commit is contained in:
parent
6247a96761
commit
2ea32829af
6 changed files with 20 additions and 37 deletions
|
@ -11,7 +11,6 @@ use context::SharedLayoutContext;
|
|||
use css::node_style::StyledNode;
|
||||
use data::LayoutDataWrapper;
|
||||
use incremental::{self, RestyleDamage};
|
||||
use opaque_node::OpaqueNodeMethods;
|
||||
use smallvec::SmallVec16;
|
||||
use wrapper::{LayoutElement, LayoutNode};
|
||||
|
||||
|
@ -480,9 +479,8 @@ impl<'ln> PrivateMatchMethods for LayoutNode<'ln> {
|
|||
// This is a newly-created node; we've nothing to transition from!
|
||||
}
|
||||
Some(ref style) => {
|
||||
let node = OpaqueNodeMethods::from_layout_node(self);
|
||||
animation::start_transitions_if_applicable(new_animations_sender,
|
||||
node,
|
||||
self.opaque(),
|
||||
&**style,
|
||||
&mut this_style);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue