summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/html_div_element.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/html_div_element.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/html/html_div_element.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/html_div_element.cc b/chromium/third_party/blink/renderer/core/html/html_div_element.cc
index 3b7b6c5add2..460efac7d4e 100644
--- a/chromium/third_party/blink/renderer/core/html/html_div_element.cc
+++ b/chromium/third_party/blink/renderer/core/html/html_div_element.cc
@@ -36,14 +36,14 @@ void HTMLDivElement::CollectStyleForPresentationAttribute(
const AtomicString& value,
MutableCSSPropertyValueSet* style) {
if (name == html_names::kAlignAttr) {
- if (DeprecatedEqualIgnoringCase(value, "middle") ||
- DeprecatedEqualIgnoringCase(value, "center")) {
+ if (EqualIgnoringASCIICase(value, "middle") ||
+ EqualIgnoringASCIICase(value, "center")) {
AddPropertyToPresentationAttributeStyle(style, CSSPropertyID::kTextAlign,
CSSValueID::kWebkitCenter);
- } else if (DeprecatedEqualIgnoringCase(value, "left")) {
+ } else if (EqualIgnoringASCIICase(value, "left")) {
AddPropertyToPresentationAttributeStyle(style, CSSPropertyID::kTextAlign,
CSSValueID::kWebkitLeft);
- } else if (DeprecatedEqualIgnoringCase(value, "right")) {
+ } else if (EqualIgnoringASCIICase(value, "right")) {
AddPropertyToPresentationAttributeStyle(style, CSSPropertyID::kTextAlign,
CSSValueID::kWebkitRight);
} else {