diff options
author | Ting-Yu Lin <tlin@mozilla.com> | 2017-05-09 10:49:30 -0700 |
---|---|---|
committer | Ting-Yu Lin <tlin@mozilla.com> | 2017-05-10 11:28:26 -0700 |
commit | dd5f73750ca0b0a00bc36af2e99af6be8d06787e (patch) | |
tree | 48dc8ac90a4fd73c650d95150f6fb5a52942d2bd /components/script/layout_wrapper.rs | |
parent | d5efed6c6a3e05f09300a3ed36d0e1254fcb407c (diff) | |
download | servo-dd5f73750ca0b0a00bc36af2e99af6be8d06787e.tar.gz servo-dd5f73750ca0b0a00bc36af2e99af6be8d06787e.zip |
Fix typo for PresentationalHintsSynthesizer
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 46e5921e3ac..2f36aa55f81 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -65,7 +65,7 @@ use style::computed_values::display; use style::context::{QuirksMode, SharedStyleContext}; use style::data::ElementData; use style::dom::{DescendantsBit, DirtyDescendants, LayoutIterator, NodeInfo, OpaqueNode}; -use style::dom::{PresentationalHintsSynthetizer, TElement, TNode, UnsafeNode}; +use style::dom::{PresentationalHintsSynthesizer, TElement, TNode, UnsafeNode}; use style::element_state::*; use style::font_metrics::ServoMetricsProvider; use style::properties::{ComputedValues, PropertyDeclarationBlock}; @@ -362,7 +362,7 @@ impl<'le> fmt::Debug for ServoLayoutElement<'le> { } } -impl<'le> PresentationalHintsSynthetizer for ServoLayoutElement<'le> { +impl<'le> PresentationalHintsSynthesizer for ServoLayoutElement<'le> { fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, hints: &mut V) where V: Push<ApplicableDeclarationBlock> { @@ -1162,7 +1162,7 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { } } -impl<'le> PresentationalHintsSynthetizer for ServoThreadSafeLayoutElement<'le> { +impl<'le> PresentationalHintsSynthesizer for ServoThreadSafeLayoutElement<'le> { fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, _hints: &mut V) where V: Push<ApplicableDeclarationBlock> {} } |