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

Unified Diff: third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp

Issue 2384263003: Reflow comments in core/animation and subdirs (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/animation/CSSSizeListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
index df4fbc01a4c45ebe4c02237e8e043561bef3e274..6b9c1ddebbde7417de3ce1cbff4863effbdcba2d 100644
--- a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
@@ -73,7 +73,8 @@ class InheritedSizeListChecker : public InterpolationType::ConversionChecker {
};
InterpolationValue convertSizeList(const SizeList& sizeList, float zoom) {
- // Flatten pairs of width/height into individual items, even for contain and cover keywords.
+ // Flatten pairs of width/height into individual items, even for contain and
+ // cover keywords.
return ListInterpolationFunctions::createList(
sizeList.size() * 2,
[&sizeList, zoom](size_t index) -> InterpolationValue {
@@ -84,7 +85,8 @@ InterpolationValue convertSizeList(const SizeList& sizeList, float zoom) {
}
InterpolationValue maybeConvertCSSSizeList(const CSSValue& value) {
- // CSSPropertyParser doesn't put single values in lists so wrap it up in a temporary list.
+ // CSSPropertyParser doesn't put single values in lists so wrap it up in a
+ // temporary list.
const CSSValueList* list = nullptr;
if (!value.isBaseValueList()) {
CSSValueList* tempList = CSSValueList::createCommaSeparated();
@@ -94,7 +96,8 @@ InterpolationValue maybeConvertCSSSizeList(const CSSValue& value) {
list = toCSSValueList(&value);
}
- // Flatten pairs of width/height into individual items, even for contain and cover keywords.
+ // Flatten pairs of width/height into individual items, even for contain and
+ // cover keywords.
return ListInterpolationFunctions::createList(
list->length() * 2, [list](size_t index) -> InterpolationValue {
const CSSValue& cssSize = list->item(index / 2);

Powered by Google App Engine
This is Rietveld 408576698