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

Unified Diff: Source/core/html/BaseDateAndTimeInputType.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
Index: Source/core/html/BaseDateAndTimeInputType.cpp
diff --git a/Source/core/html/BaseDateAndTimeInputType.cpp b/Source/core/html/BaseDateAndTimeInputType.cpp
index e4ff36cafb0c62e0dad6b76529218f894972fc62..601369207bffe88205499e76010ff9264d22afff 100644
--- a/Source/core/html/BaseDateAndTimeInputType.cpp
+++ b/Source/core/html/BaseDateAndTimeInputType.cpp
@@ -109,7 +109,7 @@ bool BaseDateAndTimeInputType::parseToDateComponents(const String& source, DateC
DateComponents ignoredResult;
if (!out)
out = &ignoredResult;
- return parseToDateComponentsInternal(source.bloatedCharacters(), source.length(), out);
+ return parseToDateComponentsInternal(source, out);
}
String BaseDateAndTimeInputType::serialize(const Decimal& value) const
« no previous file with comments | « Source/core/html/BaseDateAndTimeInputType.h ('k') | Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698