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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp

Issue 2399633003: reflow comments in core/css/resolver (Closed)
Patch Set: 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/resolver/StyleBuilderConverter.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
index d51665c42cd9a03d6bacbc8c1c9297b5de1f96a9..d02520a64a21bbe54eee78e11167eccf354a37a3 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -142,7 +142,8 @@ PassRefPtr<ClipPathOperation> StyleBuilderConverter::convertClipPath(
AtomicString fragmentIdentifier;
if (resolver.isLocal())
fragmentIdentifier = resolver.fragmentIdentifier();
- // TODO(fs): Doesn't work with forward or external SVG references (crbug.com/391604, crbug.com/109212, ...)
+ // TODO(fs): Doesn't work with forward or external SVG references
+ // (crbug.com/391604, crbug.com/109212, ...)
return ReferenceClipPathOperation::create(toCSSURIValue(value).value(),
fragmentIdentifier);
}
@@ -532,7 +533,8 @@ GridAutoFlow StyleBuilderConverter::convertGridAutoFlow(StyleResolverState&,
GridPosition StyleBuilderConverter::convertGridPosition(StyleResolverState&,
const CSSValue& value) {
// We accept the specification's grammar:
- // 'auto' | [ <integer> || <custom-ident> ] | [ span && [ <integer> || <custom-ident> ] ] | <custom-ident>
+ // 'auto' | [ <integer> || <custom-ident> ] |
+ // [ span && [ <integer> || <custom-ident> ] ] | <custom-ident>
GridPosition position;
@@ -552,7 +554,8 @@ GridPosition StyleBuilderConverter::convertGridPosition(StyleResolverState&,
ASSERT(values.length());
bool isSpanPosition = false;
- // The specification makes the <integer> optional, in which case it default to '1'.
+ // The specification makes the <integer> optional, in which case it default to
+ // '1'.
int gridLineNumber = 1;
AtomicString gridLineName;
@@ -687,8 +690,8 @@ void StyleBuilderConverter::convertGridTrackList(
trackSizes.append(convertGridTrackSize(state, *currValue));
}
- // The parser should have rejected any <track-list> without any <track-size> as
- // this is not conformant to the syntax.
+ // The parser should have rejected any <track-list> without any <track-size>
+ // as this is not conformant to the syntax.
ASSERT(!trackSizes.isEmpty() || !autoRepeatTrackSizes.isEmpty());
}
@@ -1262,7 +1265,8 @@ PassRefPtr<StylePath> StyleBuilderConverter::convertPathOrNone(
const CSSValue& StyleBuilderConverter::convertRegisteredPropertyValue(
const StyleResolverState& state,
const CSSValue& value) {
- // TODO(timloh): Images and transform-function values can also contain lengths.
+ // TODO(timloh): Images and transform-function values can also contain
+ // lengths.
if (value.isValueList()) {
CSSValueList* newList = CSSValueList::createSpaceSeparated();
for (const CSSValue* innerValue : toCSSValueList(value))

Powered by Google App Engine
This is Rietveld 408576698