| Index: base/string_util.cc
|
| diff --git a/base/string_util.cc b/base/string_util.cc
|
| index 4897f85ec15686647616d164f063d273fd18af6d..558bd45933762a19052c5e44ba47174277efb652 100644
|
| --- a/base/string_util.cc
|
| +++ b/base/string_util.cc
|
| @@ -240,7 +240,7 @@ class WStringToDoubleTraits {
|
| static inline value_type convert_func(const string_type::value_type* str,
|
| string_type::value_type** endptr,
|
| bool locale_dependent) {
|
| - if (base::LOCALE_DEPENDENT == locale_dependent) {
|
| + if (locale_dependent) {
|
| return wcstod(str, endptr);
|
| } else {
|
| // Because dmg_fp::strtod does not like wchar_t, we convert it to ASCII.
|
|
|