Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1610)

Unified Diff: Source/wtf/unicode/icu/CollatorICU.cpp

Issue 14516007: Remove OS(IOS) and OS(MAC_OS_X) guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/ThreadingPthreads.cpp ('k') | Tools/DumpRenderTree/chromium/TestShell.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/unicode/icu/CollatorICU.cpp
diff --git a/Source/wtf/unicode/icu/CollatorICU.cpp b/Source/wtf/unicode/icu/CollatorICU.cpp
index fdb710d03a6114ddf3b358670edbabb3000f46bd..12b36b6072224aca94bff9470fa590ae6b85541c 100644
--- a/Source/wtf/unicode/icu/CollatorICU.cpp
+++ b/Source/wtf/unicode/icu/CollatorICU.cpp
@@ -62,7 +62,7 @@ PassOwnPtr<Collator> Collator::userDefault()
{
#if OS(DARWIN) && USE(CF)
// Mac OS X doesn't set UNIX locale to match user-selected one, so ICU default doesn't work.
-#if !OS(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
RetainPtr<CFLocaleRef> currentLocale(AdoptCF, CFLocaleCopyCurrent());
CFStringRef collationOrder = (CFStringRef)CFLocaleGetValue(currentLocale.get(), kCFLocaleCollatorIdentifier);
#else
« no previous file with comments | « Source/wtf/ThreadingPthreads.cpp ('k') | Tools/DumpRenderTree/chromium/TestShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698