Appease tidy.

This commit is contained in:
Emilio Cobos Álvarez 2018-08-08 00:57:12 +02:00
parent 8088168f44
commit 6c5456b4b6
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 4 additions and 4 deletions

View file

@ -14,8 +14,8 @@ use dom::{SendElement, TElement};
use dom::OpaqueNode; use dom::OpaqueNode;
use euclid::Size2D; use euclid::Size2D;
use euclid::TypedScale; use euclid::TypedScale;
use fxhash::FxHashMap;
use font_metrics::FontMetricsProvider; use font_metrics::FontMetricsProvider;
use fxhash::FxHashMap;
#[cfg(feature = "gecko")] #[cfg(feature = "gecko")]
use gecko_bindings::structs; use gecko_bindings::structs;
use parallel::{STACK_SAFETY_MARGIN_KB, STYLE_THREAD_STACK_SIZE_KB}; use parallel::{STACK_SAFETY_MARGIN_KB, STYLE_THREAD_STACK_SIZE_KB};

View file

@ -16,8 +16,8 @@ use gecko_bindings::structs;
use gecko_bindings::structs::{nsCSSKTableEntry, nsCSSKeyword, nsCSSUnit, nsCSSValue}; use gecko_bindings::structs::{nsCSSKTableEntry, nsCSSKeyword, nsCSSUnit, nsCSSValue};
use gecko_bindings::structs::{nsMediaFeature, nsMediaFeature_RangeType}; use gecko_bindings::structs::{nsMediaFeature, nsMediaFeature_RangeType};
use gecko_bindings::structs::{nsMediaFeature_ValueType, nsPresContext}; use gecko_bindings::structs::{nsMediaFeature_ValueType, nsPresContext};
use gecko_bindings::structs::nsCSSKeywordAndBoolTableEntry;
use gecko_bindings::structs::RawGeckoPresContextOwned; use gecko_bindings::structs::RawGeckoPresContextOwned;
use gecko_bindings::structs::nsCSSKeywordAndBoolTableEntry;
use media_queries::MediaType; use media_queries::MediaType;
use parser::{Parse, ParserContext}; use parser::{Parse, ParserContext};
use properties::ComputedValues; use properties::ComputedValues;
@ -909,7 +909,7 @@ impl MediaFeatureExpression {
quirks_mode, quirks_mode,
|context| l.to_computed_value(&context).px() != 0., |context| l.to_computed_value(&context).px() != 0.,
), ),
BoolEnumerated(value) => { BoolEnumerated(value) => {
let value = unsafe { let value = unsafe {
find_in_table( find_in_table(
*self.feature.mData.mKeywordAndBoolTable.as_ref(), *self.feature.mData.mKeywordAndBoolTable.as_ref(),

View file

@ -13,8 +13,8 @@ use gecko_bindings::sugar::ownership::{HasBoxFFI, HasFFI, HasSimpleFFI};
use invalidation::element::document_state::InvalidationMatchingData; use invalidation::element::document_state::InvalidationMatchingData;
use selector_parser::{Direction, SelectorParser}; use selector_parser::{Direction, SelectorParser};
use selectors::SelectorList; use selectors::SelectorList;
use selectors::parser::{self as selector_parser, Selector};
use selectors::parser::{SelectorParseErrorKind, Visit}; use selectors::parser::{SelectorParseErrorKind, Visit};
use selectors::parser::{self as selector_parser, Selector};
use selectors::visitor::SelectorVisitor; use selectors::visitor::SelectorVisitor;
use std::fmt; use std::fmt;
use string_cache::{Atom, Namespace, WeakAtom, WeakNamespace}; use string_cache::{Atom, Namespace, WeakAtom, WeakNamespace};