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

Unified Diff: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp

Issue 18318002: DateComponents shouldn't use bloatedCharacters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix build Created 7 years, 6 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/core/html/BaseDateAndTimeInputType.cpp ('k') | Source/core/html/DateInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
diff --git a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
index 96f768e8b89b07e30e06903eaf480b6fe996dff6..b15c0a457319d852b56537878f1880a3649c9526 100644
--- a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
+++ b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
@@ -250,7 +250,7 @@ void BaseMultipleFieldsDateAndTimeInputType::pickerIndicatorChooseValue(const St
return;
DateComponents date;
unsigned end;
- if (date.parseDate(value.bloatedCharacters(), value.length(), 0, end) && end == value.length())
+ if (date.parseDate(value, 0, end) && end == value.length())
edit->setOnlyYearMonthDay(date);
}
« no previous file with comments | « Source/core/html/BaseDateAndTimeInputType.cpp ('k') | Source/core/html/DateInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698