summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/string_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/string_util.cc b/base/string_util.cc
index 4897f85..558bd459 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.