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

Unified Diff: third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp

Issue 2398013002: Reflow comments in core/css/parser (Closed)
Patch Set: Removed weird border-style comment Created 4 years, 2 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
Index: third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
index 1fd01d8c22c159a9f2cf76d84a614c1a3ac864f2..320ed75e100cc470eb12aefee8766ab9f706b82a 100644
--- a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
@@ -60,10 +60,12 @@ bool SizesAttributeParser::mediaConditionMatches(
}
bool SizesAttributeParser::parse(CSSParserTokenRange range) {
- // Split on a comma token and parse the result tokens as (media-condition, length) pairs
+ // Split on a comma token and parse the result tokens as (media-condition,
+ // length) pairs
while (!range.atEnd()) {
const CSSParserToken* mediaConditionStart = &range.peek();
- // The length is the last component value before the comma which isn't whitespace or a comment
+ // The length is the last component value before the comma which isn't
+ // whitespace or a comment
const CSSParserToken* lengthTokenStart = &range.peek();
const CSSParserToken* lengthTokenEnd = &range.peek();
while (!range.atEnd() && range.peek().type() != CommaToken) {

Powered by Google App Engine
This is Rietveld 408576698