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

Unified Diff: Source/core/page/PagePopupController.cpp

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/core/page/PagePopupController.cpp
diff --git a/Source/core/page/PagePopupController.cpp b/Source/core/page/PagePopupController.cpp
index ba31b0260f2f37fc643df4f0704e577b0733dc47..f204b24053fe52d667b50303d77c3d03e50ba0ed 100644
--- a/Source/core/page/PagePopupController.cpp
+++ b/Source/core/page/PagePopupController.cpp
@@ -74,7 +74,6 @@ String PagePopupController::localizeNumberString(const String& numberString)
return numberString;
}
-#if ENABLE(CALENDAR_PICKER)
String PagePopupController::formatMonth(int year, int zeroBaseMonth)
{
if (!m_popupClient)
@@ -92,7 +91,6 @@ String PagePopupController::formatShortMonth(int year, int zeroBaseMonth)
date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth);
return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeShort);
}
-#endif
void PagePopupController::clearPagePopupClient()
{

Powered by Google App Engine
This is Rietveld 408576698