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

Unified Diff: Source/platform/text/LocaleMac.mm

Issue 52553008: Eliminate the CALENDAR_PICKER compile time flag as only android uses this flag and the web facing p… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Fix winbot by eliminating last checks for CALENDAR_PICKER Created 7 years, 1 month 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
Index: Source/platform/text/LocaleMac.mm
diff --git a/Source/platform/text/LocaleMac.mm b/Source/platform/text/LocaleMac.mm
index 0bbc5a3e26499724a82169475e1297c0af5b7512..64c1353e5e3d9b8f68da0e0107126cc0112bfeb7 100644
--- a/Source/platform/text/LocaleMac.mm
+++ b/Source/platform/text/LocaleMac.mm
@@ -129,7 +129,6 @@ const Vector<String>& LocaleMac::monthLabels()
return m_monthLabels;
}
-#if ENABLE(CALENDAR_PICKER)
const Vector<String>& LocaleMac::weekDayShortLabels()
{
if (!m_weekDayShortLabels.isEmpty())
@@ -160,7 +159,6 @@ bool LocaleMac::isRTL()
{
return NSLocaleLanguageDirectionRightToLeft == [NSLocale characterDirectionForLanguage:[NSLocale canonicalLanguageIdentifierFromString:[m_locale.get() localeIdentifier]]];
}
-#endif
RetainPtr<NSDateFormatter> LocaleMac::timeFormatter()
{

Powered by Google App Engine
This is Rietveld 408576698