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

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

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 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/BaseChooserOnlyDateAndTimeInputType.cpp ('k') | Source/core/html/FormController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/DateInputType.cpp
diff --git a/Source/core/html/DateInputType.cpp b/Source/core/html/DateInputType.cpp
index ec2f6a03acbcdfc36a07835121873ee56ff0fded..b18edd8f101427c5f3d21e696b500b467a3f3e40 100644
--- a/Source/core/html/DateInputType.cpp
+++ b/Source/core/html/DateInputType.cpp
@@ -114,7 +114,7 @@ String DateInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateT
void DateInputType::setupLayoutParameters(DateTimeEditElement::LayoutParameters& layoutParameters, const DateComponents& date) const
{
layoutParameters.dateTimeFormat = layoutParameters.locale.dateFormat();
- layoutParameters.fallbackDateTimeFormat = ASCIILiteral("yyyy-MM-dd");
+ layoutParameters.fallbackDateTimeFormat = "yyyy-MM-dd";
if (!parseToDateComponents(element()->fastGetAttribute(minAttr), &layoutParameters.minimum))
layoutParameters.minimum = DateComponents();
if (!parseToDateComponents(element()->fastGetAttribute(maxAttr), &layoutParameters.maximum))
« no previous file with comments | « Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp ('k') | Source/core/html/FormController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698