| Index: ui/base/l10n/l10n_util.cc
|
| diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
|
| index 795153439a641a24d60c2ccb4b514e64272ef72e..2c2ac796e1621dbd335686646b983049cd2b6f9f 100644
|
| --- a/ui/base/l10n/l10n_util.cc
|
| +++ b/ui/base/l10n/l10n_util.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(USE_X11)
|
| #include <glib/gutils.h>
|
| #endif
|
|
|
| @@ -404,7 +404,7 @@ std::string GetApplicationLocale(const std::string& pref_locale) {
|
| if (!pref_locale.empty())
|
| candidates.push_back(pref_locale);
|
|
|
| -#elif defined(OS_POSIX) && defined(TOOLKIT_USES_GTK)
|
| +#elif !defined(OS_MACOSX)
|
|
|
| // GLib implements correct environment variable parsing with
|
| // the precedence order: LANGUAGE, LC_ALL, LC_MESSAGES and LANG.
|
|
|