mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
fixup! Merge new_with_pseudo_without_self() and new_with_pseudo() into with_pseudo()
This commit is contained in:
parent
7f139b2b07
commit
d9c6ac5ca1
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
||||||
/// with a differet pseudo-element type.
|
/// with a different pseudo-element type.
|
||||||
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
||||||
ThreadSafeLayoutNode {
|
ThreadSafeLayoutNode {
|
||||||
node: self.node.clone(),
|
node: self.node.clone(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue