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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIFlex.cpp

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Replace ImplicitProperty by IsImplicitProperty Created 3 years, 6 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/properties/CSSShorthandPropertyAPIFlex.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIFlex.cpp b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIFlex.cpp
index 954b9462fd8fec6459a92d95b055fe6abaed48c3..dec409144c60ab44423235ea5962e680281eee8f 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIFlex.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIFlex.cpp
@@ -76,16 +76,18 @@ bool CSSShorthandPropertyAPIFlex::parseShorthand(
CSSPropertyFlexGrow, CSSPropertyFlex,
*CSSPrimitiveValue::Create(clampTo<float>(flex_grow),
CSSPrimitiveValue::UnitType::kNumber),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit,
+ properties);
CSSPropertyParserHelpers::AddProperty(
CSSPropertyFlexShrink, CSSPropertyFlex,
*CSSPrimitiveValue::Create(clampTo<float>(flex_shrink),
CSSPrimitiveValue::UnitType::kNumber),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit,
+ properties);
- CSSPropertyParserHelpers::AddProperty(CSSPropertyFlexBasis, CSSPropertyFlex,
- *flex_basis, important,
- false /* implicit */, properties);
+ CSSPropertyParserHelpers::AddProperty(
+ CSSPropertyFlexBasis, CSSPropertyFlex, *flex_basis, important,
+ CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, properties);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698