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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.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/forms/InputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
index 40d4facd10217fce88e56a762a153a0f4b795fc1..6832d73c910c4699f929bfd29c6c13269c97e844 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -717,7 +717,7 @@ void InputType::ApplyStep(const Decimal& current,
EventQueueScope scope;
Decimal new_value = current;
const AtomicString& step_string = GetElement().FastGetAttribute(stepAttr);
- if (!EqualIgnoringCase(step_string, "any") &&
+ if (!DeprecatedEqualIgnoringCase(step_string, "any") &&
step_range.StepMismatch(current)) {
// Snap-to-step / clamping steps
// If the current value is not matched to step value:
@@ -738,7 +738,7 @@ void InputType::ApplyStep(const Decimal& current,
}
new_value = new_value + step_range.Step() * Decimal::FromDouble(count);
- if (!EqualIgnoringCase(step_string, "any"))
+ if (!DeprecatedEqualIgnoringCase(step_string, "any"))
new_value = step_range.AlignValueForStep(current, new_value);
// 7. If the element has a minimum, and value is less than that minimum,

Powered by Google App Engine
This is Rietveld 408576698