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

Unified Diff: Source/core/css/parser/CSSParserTokenRange.cpp

Issue 790593004: CSS Parser: Implement selector parsing [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 6 years 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/CSSParserTokenRange.h ('k') | Source/core/css/parser/CSSParserValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserTokenRange.cpp
diff --git a/Source/core/css/parser/CSSParserTokenRange.cpp b/Source/core/css/parser/CSSParserTokenRange.cpp
index d590547ad8eee22bce079b1bb5430c175170f1bd..85a069d5d3c5d7737b5a7b0e4f99eff5173f75cd 100644
--- a/Source/core/css/parser/CSSParserTokenRange.cpp
+++ b/Source/core/css/parser/CSSParserTokenRange.cpp
@@ -43,7 +43,7 @@ void CSSParserTokenRange::consumeComponentValue()
void CSSParserTokenRange::consumeWhitespaceAndComments()
{
while (peek().type() == WhitespaceToken || peek().type() == CommentToken)
- consume();
+ ++m_first;
}
} // namespace blink
« no previous file with comments | « Source/core/css/parser/CSSParserTokenRange.h ('k') | Source/core/css/parser/CSSParserValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698