aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/custom_properties.rs
diff options
context:
space:
mode:
authorGecko Backout <gecko-backout@mozilla.org>2017-07-06 21:58:15 +0000
committermoz-servo-sync <developer-services+moz-servo-sync@mozilla.org>2017-07-06 21:58:15 +0000
commit32269fa7cc4c412b9f3de2572838ea2562713997 (patch)
treef4a9add947aa9c923b49055c2a0291cd8978fecc /components/style/custom_properties.rs
parent585468da9a2d7a33f41a8bebe858006305c1fce9 (diff)
downloadservo-32269fa7cc4c412b9f3de2572838ea2562713997.tar.gz
servo-32269fa7cc4c412b9f3de2572838ea2562713997.zip
Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE
Backs out https://github.com/servo/servo/pull/17624
Diffstat (limited to 'components/style/custom_properties.rs')
-rw-r--r--components/style/custom_properties.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs
index 0f22a0b075c..5b7c125739a 100644
--- a/components/style/custom_properties.rs
+++ b/components/style/custom_properties.rs
@@ -280,10 +280,10 @@ fn parse_declaration_value_block<'i, 't>
}
token.serialization_type()
}
- Token::BadUrl(u) =>
- return Err(StyleParseError::BadUrlInDeclarationValueBlock(u).into()),
- Token::BadString(s) =>
- return Err(StyleParseError::BadStringInDeclarationValueBlock(s).into()),
+ Token::BadUrl =>
+ return Err(StyleParseError::BadUrlInDeclarationValueBlock.into()),
+ Token::BadString =>
+ return Err(StyleParseError::BadStringInDeclarationValueBlock.into()),
Token::CloseParenthesis =>
return Err(StyleParseError::UnbalancedCloseParenthesisInDeclarationValueBlock.into()),
Token::CloseSquareBracket =>