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

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

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Change AddProperty's "implicit" to an enum. 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/CSSShorthandPropertyAPIBorderRadius.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIBorderRadius.cpp b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIBorderRadius.cpp
index d1ca80ce3e0bec3141385284026074dcf059bd25..5225afe1bd7806b96d590cd7da52b27923517cbf 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIBorderRadius.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIBorderRadius.cpp
@@ -30,22 +30,22 @@ bool CSSShorthandPropertyAPIBorderRadius::parseShorthand(
CSSPropertyBorderTopLeftRadius, CSSPropertyBorderRadius,
*CSSValuePair::Create(horizontal_radii[0], vertical_radii[0],
CSSValuePair::kDropIdenticalValues),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::kNotImplicit, properties);
CSSPropertyParserHelpers::AddProperty(
CSSPropertyBorderTopRightRadius, CSSPropertyBorderRadius,
*CSSValuePair::Create(horizontal_radii[1], vertical_radii[1],
CSSValuePair::kDropIdenticalValues),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::kNotImplicit, properties);
CSSPropertyParserHelpers::AddProperty(
CSSPropertyBorderBottomRightRadius, CSSPropertyBorderRadius,
*CSSValuePair::Create(horizontal_radii[2], vertical_radii[2],
CSSValuePair::kDropIdenticalValues),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::kNotImplicit, properties);
CSSPropertyParserHelpers::AddProperty(
CSSPropertyBorderBottomLeftRadius, CSSPropertyBorderRadius,
*CSSValuePair::Create(horizontal_radii[3], vertical_radii[3],
CSSValuePair::kDropIdenticalValues),
- important, false /* implicit */, properties);
+ important, CSSPropertyParserHelpers::kNotImplicit, properties);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698