diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 16:04:19 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 16:04:19 +0000 |
commit | 212cc69437f964276512ba672f6995cd987ab9a5 (patch) | |
tree | 96b48f65c2b3ceedd3d7dfdc4d147adbe2a76652 /app/l10n_util.cc | |
parent | 10bf08b4d51096154f2e8823c70b6c2c2998f6a4 (diff) | |
download | chromium_src-212cc69437f964276512ba672f6995cd987ab9a5.zip chromium_src-212cc69437f964276512ba672f6995cd987ab9a5.tar.gz chromium_src-212cc69437f964276512ba672f6995cd987ab9a5.tar.bz2 |
Fix clang build
BUG=none
TEST=none
TBR=grt
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/l10n_util.cc')
-rw-r--r-- | app/l10n_util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/l10n_util.cc b/app/l10n_util.cc index d86f082..58a17a4 100644 --- a/app/l10n_util.cc +++ b/app/l10n_util.cc @@ -329,9 +329,12 @@ void AdjustParagraphDirectionality(string16* paragraph) { #endif } +#if defined(OS_WIN) || \ + (!defined(OS_CHROMEOS) && defined(OS_POSIX) && defined(TOOLKIT_USES_GTK)) std::string GetCanonicalLocale(const std::string& locale) { return base::i18n::GetCanonicalLocale(locale.c_str()); } +#endif } // namespace |