diff options
Diffstat (limited to 'components/script/dom/cssstylevalue.rs')
-rw-r--r-- | components/script/dom/cssstylevalue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/cssstylevalue.rs b/components/script/dom/cssstylevalue.rs index 7f8e580ddbb..e65e929e520 100644 --- a/components/script/dom/cssstylevalue.rs +++ b/components/script/dom/cssstylevalue.rs @@ -44,11 +44,11 @@ impl CSSStyleValue { /// return relative URLs for computed values, so we pass in a base. /// <https://github.com/servo/servo/issues/17625> pub fn get_url(&self, base_url: ServoUrl) -> Option<ServoUrl> { - let mut input = ParserInput::new(&*self.value); + let mut input = ParserInput::new(&self.value); let mut parser = Parser::new(&mut input); parser .expect_url() .ok() - .and_then(|string| base_url.join(&*string).ok()) + .and_then(|string| base_url.join(&string).ok()) } } |