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

Unified Diff: xfa/fwl/core/ifwl_monthcalendar.cpp

Issue 2524993002: Remove plumbing for today value (Closed)
Patch Set: Created 4 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
« xfa/fwl/core/ifwl_datetimepicker.cpp ('K') | « xfa/fwl/core/ifwl_monthcalendar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_monthcalendar.cpp
diff --git a/xfa/fwl/core/ifwl_monthcalendar.cpp b/xfa/fwl/core/ifwl_monthcalendar.cpp
index 0137f195c9ca0533875a5b0fbbf36a6676a64cb0..e795999f6140f487f4ee55a3c44271659cf2c002 100644
--- a/xfa/fwl/core/ifwl_monthcalendar.cpp
+++ b/xfa/fwl/core/ifwl_monthcalendar.cpp
@@ -725,12 +725,9 @@ void IFWL_MonthCalendar::GetCapValue() {
void IFWL_MonthCalendar::InitDate() {
if (m_pProperties->m_pDataProvider) {
- IFWL_MonthCalendar::DataProvider* pDateProv =
- static_cast<IFWL_MonthCalendar::DataProvider*>(
- m_pProperties->m_pDataProvider);
- m_iYear = pDateProv->GetCurYear(this);
- m_iMonth = pDateProv->GetCurMonth(this);
- m_iDay = pDateProv->GetCurDay(this);
+ m_iYear = 2011;
npm 2016/11/23 16:42:31 Add a TODO?
dsinclair 2016/11/23 16:46:40 Done.
+ m_iMonth = 1;
+ m_iDay = 1;
m_iCurYear = m_iYear;
m_iCurMonth = m_iMonth;
} else {
« xfa/fwl/core/ifwl_datetimepicker.cpp ('K') | « xfa/fwl/core/ifwl_monthcalendar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698