| Index: third_party/WebKit/Source/core/css/parser/CSSParserTokenTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserTokenTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserTokenTest.cpp
|
| index e9204e1b88bedfdf3b99934d924e9379708e3322..fd767cd3afd6287106b37c2e127dec65f5f2aa76 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserTokenTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserTokenTest.cpp
|
| @@ -8,18 +8,11 @@
|
|
|
| namespace blink {
|
|
|
| -static CSSParserString toParserString(const String& string)
|
| -{
|
| - CSSParserString result;
|
| - result.init(string);
|
| - return result;
|
| -}
|
| -
|
| -static CSSParserToken ident(const String& string) { return CSSParserToken(IdentToken, toParserString(string)); }
|
| +static CSSParserToken ident(const String& string) { return CSSParserToken(IdentToken, string); }
|
| static CSSParserToken dimension(double value, const String& unit)
|
| {
|
| CSSParserToken token(NumberToken, value, NumberValueType, NoSign);
|
| - token.convertToDimensionWithUnit(toParserString(unit));
|
| + token.convertToDimensionWithUnit(unit);
|
| return token;
|
| }
|
|
|
|
|