diff options
author | Xidorn Quan <me@upsuper.org> | 2018-03-08 21:31:09 +1100 |
---|---|---|
committer | Xidorn Quan <me@upsuper.org> | 2018-03-08 23:34:34 +1100 |
commit | fa5d76c395684e0569e6512b0f1037f02da3e85c (patch) | |
tree | 840ff7a4ceaf53dc2bac8587151ef7e0e5a1e4e4 /components/script/stylesheet_loader.rs | |
parent | 0090fbb3c8278b2616e9dd164dd932740d879d91 (diff) | |
download | servo-fa5d76c395684e0569e6512b0f1037f02da3e85c.tar.gz servo-fa5d76c395684e0569e6512b0f1037f02da3e85c.zip |
Split CssUrl from SpecifiedUrl for non-value URLs.
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index 09b22913424..0c5e792ad6a 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -34,7 +34,7 @@ use style::shared_lock::{Locked, SharedRwLock}; use style::stylesheets::{CssRules, ImportRule, Namespaces, Stylesheet, StylesheetContents, Origin}; use style::stylesheets::StylesheetLoader as StyleStylesheetLoader; use style::stylesheets::import_rule::ImportSheet; -use style::values::specified::url::SpecifiedUrl; +use style::values::CssUrl; pub trait StylesheetOwner { /// Returns whether this element was inserted by the parser (i.e., it should @@ -276,7 +276,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> { /// the constructed `@import` rule. fn request_stylesheet( &self, - url: SpecifiedUrl, + url: CssUrl, source_location: SourceLocation, context: &ParserContext, lock: &SharedRwLock, |