mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename "get_applicable_declarations" to "push_applicable_declarations".
This commit is contained in:
parent
fe1bb6a325
commit
b6d59a17f0
2 changed files with 24 additions and 24 deletions
|
@ -40,17 +40,17 @@ impl<'ln> MatchMethods for LayoutNode<'ln> {
|
|||
let mut layout_data_ref = self.mutate_layout_data();
|
||||
match *layout_data_ref.get() {
|
||||
Some(ref mut layout_data) => {
|
||||
stylist.get_applicable_declarations(self,
|
||||
stylist.push_applicable_declarations(self,
|
||||
style_attribute,
|
||||
None,
|
||||
&mut layout_data.data.applicable_declarations);
|
||||
stylist.get_applicable_declarations(self,
|
||||
stylist.push_applicable_declarations(self,
|
||||
None,
|
||||
Some(Before),
|
||||
&mut layout_data
|
||||
.data
|
||||
.before_applicable_declarations);
|
||||
stylist.get_applicable_declarations(self,
|
||||
stylist.push_applicable_declarations(self,
|
||||
None,
|
||||
Some(After),
|
||||
&mut layout_data
|
||||
|
|
|
@ -358,7 +358,7 @@ impl Stylist {
|
|||
|
||||
/// Returns the applicable CSS declarations for the given element. This corresponds to
|
||||
/// `ElementRuleCollector` in WebKit.
|
||||
pub fn get_applicable_declarations<E:TElement,
|
||||
pub fn push_applicable_declarations<E:TElement,
|
||||
N:TNode<E>,
|
||||
V:SmallVec<Arc<~[PropertyDeclaration]>>>(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue