| Index: Source/core/html/NumberInputType.cpp
|
| diff --git a/Source/core/html/NumberInputType.cpp b/Source/core/html/NumberInputType.cpp
|
| index 8778db7eeca98845d28c1c31cd5f9c7104682b23..7bffcad68088bc01d2f6aea2a1ab82dbdcc5a282 100644
|
| --- a/Source/core/html/NumberInputType.cpp
|
| +++ b/Source/core/html/NumberInputType.cpp
|
| @@ -235,7 +235,7 @@ String NumberInputType::localizeValue(const String& proposedValue) const
|
| if (proposedValue.isEmpty())
|
| return proposedValue;
|
| // We don't localize scientific notations.
|
| - if (proposedValue.find(isE) != notFound)
|
| + if (proposedValue.find(isE) != kNotFound)
|
| return proposedValue;
|
| return element()->locale().convertToLocalizedNumber(proposedValue);
|
| }
|
| @@ -250,7 +250,7 @@ String NumberInputType::convertFromVisibleValue(const String& visibleValue) cons
|
| if (visibleValue.isEmpty())
|
| return visibleValue;
|
| // We don't localize scientific notations.
|
| - if (visibleValue.find(isE) != notFound)
|
| + if (visibleValue.find(isE) != kNotFound)
|
| return visibleValue;
|
| return element()->locale().convertFromLocalizedNumber(visibleValue);
|
| }
|
|
|