Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: Source/core/css/parser/CSSTokenizer-in.cpp

Issue 603443002: Don't add '(' to FUNCTION token names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@internalsetshadowunused
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSTokenizer-in.cpp
diff --git a/Source/core/css/parser/CSSTokenizer-in.cpp b/Source/core/css/parser/CSSTokenizer-in.cpp
index f7abffac9e35ef04e8578f173e0a3bca1330cccd..4097d9789099b11f87b4ad063daec05b45fe805e 100644
--- a/Source/core/css/parser/CSSTokenizer-in.cpp
+++ b/Source/core/css/parser/CSSTokenizer-in.cpp
@@ -1166,7 +1166,6 @@ restartAfterComment:
// Skip parenthesis
++currentCharacter<SrcCharacterType>();
++result;
- ++yylval->string.m_length;
if (m_token == URI) {
m_token = FUNCTION;
@@ -1310,8 +1309,8 @@ restartAfterComment:
currentCharacter<SrcCharacterType>() = nextCharacter;
}
}
+ resultString.setLength(result - tokenStart<SrcCharacterType>());
}
- resultString.setLength(result - tokenStart<SrcCharacterType>());
yylval->string = resultString;
} else if (currentCharacter<SrcCharacterType>()[0] == '-' && currentCharacter<SrcCharacterType>()[1] == '>') {
currentCharacter<SrcCharacterType>() += 2;
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698