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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.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/TextControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
index 955b42685541178b2188c48d4020bd87a1e976fb..ade35db4cd89f7370712c03809274e0e5693cf74 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
@@ -648,13 +648,14 @@ const AtomicString& TextControlElement::autocapitalize() const {
DEFINE_STATIC_LOCAL(const AtomicString, sentences, ("sentences"));
const AtomicString& value = FastGetAttribute(autocapitalizeAttr);
- if (EqualIgnoringCase(value, none) || EqualIgnoringCase(value, off))
+ if (DeprecatedEqualIgnoringCase(value, none) ||
+ DeprecatedEqualIgnoringCase(value, off))
return none;
- if (EqualIgnoringCase(value, characters))
+ if (DeprecatedEqualIgnoringCase(value, characters))
return characters;
- if (EqualIgnoringCase(value, words))
+ if (DeprecatedEqualIgnoringCase(value, words))
return words;
- if (EqualIgnoringCase(value, sentences))
+ if (DeprecatedEqualIgnoringCase(value, sentences))
return sentences;
// Invalid or missing value.
@@ -936,11 +937,11 @@ String TextControlElement::DirectionForFormData() const {
if (dir_attribute_value.IsNull())
continue;
- if (EqualIgnoringCase(dir_attribute_value, "rtl") ||
- EqualIgnoringCase(dir_attribute_value, "ltr"))
+ if (DeprecatedEqualIgnoringCase(dir_attribute_value, "rtl") ||
+ DeprecatedEqualIgnoringCase(dir_attribute_value, "ltr"))
return dir_attribute_value;
- if (EqualIgnoringCase(dir_attribute_value, "auto")) {
+ if (DeprecatedEqualIgnoringCase(dir_attribute_value, "auto")) {
bool is_auto;
TextDirection text_direction =
element->DirectionalityIfhasDirAutoAttribute(is_auto);
« no previous file with comments | « third_party/WebKit/Source/core/html/LinkRelAttribute.cpp ('k') | third_party/WebKit/Source/core/html/forms/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698