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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 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 03390f5abb701e42c2b9603b5ec99020912a9556..f508efe4feab97b3cc368bc668500fcec600760d 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -845,19 +845,19 @@ void InputType::stepUpFromLayoutObject(int n) {
current = stepRange.minimum() - nextDiff;
if (current > stepRange.maximum() - nextDiff)
current = stepRange.maximum() - nextDiff;
- setValueAsDecimal(current, DispatchNoEvent, IGNORE_EXCEPTION);
+ setValueAsDecimal(current, DispatchNoEvent, IGNORE_EXCEPTION_FOR_TESTING);
}
if ((sign > 0 && current < stepRange.minimum()) ||
(sign < 0 && current > stepRange.maximum())) {
setValueAsDecimal(sign > 0 ? stepRange.minimum() : stepRange.maximum(),
- DispatchChangeEvent, IGNORE_EXCEPTION);
+ DispatchChangeEvent, IGNORE_EXCEPTION_FOR_TESTING);
return;
}
if ((sign > 0 && current >= stepRange.maximum()) ||
(sign < 0 && current <= stepRange.minimum()))
return;
applyStep(current, n, AnyIsDefaultStep, DispatchChangeEvent,
- IGNORE_EXCEPTION);
+ IGNORE_EXCEPTION_FOR_TESTING);
}
void InputType::countUsageIfVisible(UseCounter::Feature feature) const {
« no previous file with comments | « third_party/WebKit/Source/core/html/TimeRangesTest.cpp ('k') | third_party/WebKit/Source/core/html/forms/RangeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698