summaryrefslogtreecommitdiffstats
path: root/ui/base/l10n
diff options
context:
space:
mode:
authorjunmin.zhu@intel.com <junmin.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-19 00:02:19 +0000
committerjunmin.zhu@intel.com <junmin.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-19 00:02:19 +0000
commit76a53dd2db110a9c406bc56e207b28f34cebaa67 (patch)
tree37131b7d1a2bf2aa24a1742d77f6e9b18cbee4e7 /ui/base/l10n
parentc222df63d7c2888a876ef8d4a10889813c266a51 (diff)
downloadchromium_src-76a53dd2db110a9c406bc56e207b28f34cebaa67.zip
chromium_src-76a53dd2db110a9c406bc56e207b28f34cebaa67.tar.gz
chromium_src-76a53dd2db110a9c406bc56e207b28f34cebaa67.tar.bz2
Fix Compile error with "-Duse_aura=1".
BUG=114778 TEST=Compile chromium with "-Duse_aura=1" Review URL: http://codereview.chromium.org/9423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/l10n')
-rw-r--r--ui/base/l10n/l10n_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
index 1239085..05bd11d 100644
--- a/ui/base/l10n/l10n_util.cc
+++ b/ui/base/l10n/l10n_util.cc
@@ -398,7 +398,7 @@ std::string GetApplicationLocale(const std::string& pref_locale) {
candidates.push_back(base::i18n::GetConfiguredLocale());
}
-#elif defined(OS_CHROMEOS)
+#elif defined(OS_CHROMEOS) || defined(USE_AURA)
// On ChromeOS, use the application locale preference.
if (!pref_locale.empty())