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

Unified Diff: third_party/WebKit/Source/core/html/HTMLHRElement.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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/html/HTMLHRElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLHRElement.cpp b/third_party/WebKit/Source/core/html/HTMLHRElement.cpp
index adbbe3bc09aa0802c1a97d1560e86fc1a8d5f294..a2fd9af15a6858417349d7bc95b0963d70784134 100644
--- a/third_party/WebKit/Source/core/html/HTMLHRElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLHRElement.cpp
@@ -52,13 +52,13 @@ void HTMLHRElement::CollectStyleForPresentationAttribute(
const AtomicString& value,
MutableStylePropertySet* style) {
if (name == alignAttr) {
- if (EqualIgnoringCase(value, "left")) {
+ if (DeprecatedEqualIgnoringCase(value, "left")) {
AddPropertyToPresentationAttributeStyle(
style, CSSPropertyMarginLeft, 0,
CSSPrimitiveValue::UnitType::kPixels);
AddPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight,
CSSValueAuto);
- } else if (EqualIgnoringCase(value, "right")) {
+ } else if (DeprecatedEqualIgnoringCase(value, "right")) {
AddPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft,
CSSValueAuto);
AddPropertyToPresentationAttributeStyle(
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698