diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-09-06 13:48:12 +0800 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-09-06 14:17:26 +0800 |
commit | 3ce64fd2692cd86264c7a5ba79a198749fe4b01d (patch) | |
tree | a309ac8ec6741762c5713dc9e3b820273339e67b /components/script/layout_wrapper.rs | |
parent | 1901a21a2c179e5bb439609402a4e1cb9f5c08d1 (diff) | |
download | servo-3ce64fd2692cd86264c7a5ba79a198749fe4b01d.tar.gz servo-3ce64fd2692cd86264c7a5ba79a198749fe4b01d.zip |
Rename DeclarationBlock to ApplicableDeclarationBlock
Make it more different from PropertyDeclarationBlock
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index 2f4ee4995ef..911810880e2 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -63,7 +63,7 @@ use style::element_state::*; use style::properties::{ComputedValues, PropertyDeclarationBlock}; use style::refcell::{Ref, RefCell, RefMut}; use style::selector_impl::{ElementSnapshot, NonTSPseudoClass, PseudoElement, ServoSelectorImpl}; -use style::selector_matching::DeclarationBlock; +use style::selector_matching::ApplicableDeclarationBlock; use style::sink::Push; use style::str::is_whitespace; use url::Url; @@ -442,7 +442,7 @@ impl<'le> fmt::Debug for ServoLayoutElement<'le> { impl<'le> PresentationalHintsSynthetizer for ServoLayoutElement<'le> { fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, hints: &mut V) - where V: Push<DeclarationBlock> + where V: Push<ApplicableDeclarationBlock> { unsafe { self.element.synthesize_presentational_hints_for_legacy_attributes(hints); @@ -1094,5 +1094,5 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { impl<'le> PresentationalHintsSynthetizer for ServoThreadSafeLayoutElement<'le> { fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, _hints: &mut V) - where V: Push<DeclarationBlock> {} + where V: Push<ApplicableDeclarationBlock> {} } |