diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc b/chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc index 7cdd0fa4405..d0746642917 100644 --- a/chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc +++ b/chromium/third_party/blink/renderer/core/css/properties/shorthands/webkit_mask_position_custom.cc @@ -11,7 +11,7 @@ #include "third_party/blink/renderer/core/style/computed_style.h" namespace blink { -namespace CSSShorthand { +namespace css_shorthand { bool WebkitMaskPosition::ParseShorthand( bool important, @@ -22,20 +22,20 @@ bool WebkitMaskPosition::ParseShorthand( CSSValue* result_x = nullptr; CSSValue* result_y = nullptr; - if (!CSSParsingUtils::ConsumeBackgroundPosition( - range, context, CSSPropertyParserHelpers::UnitlessQuirk::kAllow, + if (!css_parsing_utils::ConsumeBackgroundPosition( + range, context, css_property_parser_helpers::UnitlessQuirk::kAllow, result_x, result_y) || !range.AtEnd()) return false; - CSSPropertyParserHelpers::AddProperty( + css_property_parser_helpers::AddProperty( CSSPropertyWebkitMaskPositionX, CSSPropertyWebkitMaskPosition, *result_x, - important, CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, + important, css_property_parser_helpers::IsImplicitProperty::kNotImplicit, properties); - CSSPropertyParserHelpers::AddProperty( + css_property_parser_helpers::AddProperty( CSSPropertyWebkitMaskPositionY, CSSPropertyWebkitMaskPosition, *result_y, - important, CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, + important, css_property_parser_helpers::IsImplicitProperty::kNotImplicit, properties); return true; } @@ -50,5 +50,5 @@ const CSSValue* WebkitMaskPosition::CSSValueFromComputedStyleInternal( *this, style, &style.MaskLayers()); } -} // namespace CSSShorthand +} // namespace css_shorthand } // namespace blink |