From 39169ad92ed2d3120b4e76c3658353a9346c8a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 5 May 2018 16:24:36 +0200 Subject: [PATCH] style: Fix tidy issues. --- components/style/stylist.rs | 3 ++- components/style/values/specified/counters.rs | 2 +- ports/geckolib/glue.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/style/stylist.rs b/components/style/stylist.rs index 54d006d4ff8..34f187e483a 100644 --- a/components/style/stylist.rs +++ b/components/style/stylist.rs @@ -1450,7 +1450,8 @@ impl Stylist { // See [3] for the bug to implement whatever gets resolved, and related // bugs for a bit more context. // - // [1]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/resolver/style_resolver.cc?l=1267&rcl=90f9f8680ebb4a87d177f3b0833372ae4e0c88d8 + // [1]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/ + // core/css/resolver/style_resolver.cc?l=1267&rcl=90f9f8680ebb4a87d177f3b0833372ae4e0c88d8 // [2]: https://github.com/w3c/csswg-drafts/issues/1995 // [3]: https://bugzil.la/1458189 if let Some(shadow) = element.shadow_root() { diff --git a/components/style/values/specified/counters.rs b/components/style/values/specified/counters.rs index 64bdd04becc..3daf8ee56a0 100644 --- a/components/style/values/specified/counters.rs +++ b/components/style/values/specified/counters.rs @@ -12,8 +12,8 @@ use style_traits::{ParseError, StyleParseErrorKind}; use values::CustomIdent; #[cfg(feature = "gecko")] use values::generics::CounterStyleOrNone; -use values::generics::counters::CounterPair; use values::generics::counters::CounterIncrement as GenericCounterIncrement; +use values::generics::counters::CounterPair; use values::generics::counters::CounterReset as GenericCounterReset; #[cfg(feature = "gecko")] use values::specified::Attr; diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index 0b0ca198806..93918a1c997 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -92,8 +92,8 @@ use style::gecko_bindings::structs; use style::gecko_bindings::structs::{CallerType, CSSPseudoElementType, CompositeOperation}; use style::gecko_bindings::structs::{Loader, LoaderReusableStyleSheets}; use style::gecko_bindings::structs::{RawServoStyleRule, ComputedStyleStrong, RustString}; -use style::gecko_bindings::structs::{StyleSheet as DomStyleSheet, SheetLoadData, SheetLoadDataHolder}; use style::gecko_bindings::structs::{SheetParsingMode, nsAtom, nsCSSPropertyID}; +use style::gecko_bindings::structs::{StyleSheet as DomStyleSheet, SheetLoadData, SheetLoadDataHolder}; use style::gecko_bindings::structs::{nsCSSFontDesc, nsCSSCounterDesc}; use style::gecko_bindings::structs::{nsRestyleHint, nsChangeHint, PropertyValuePair}; use style::gecko_bindings::structs::AtomArray;