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

Unified Diff: Source/WebKit/chromium/tests/LocaleMacTest.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 | « no previous file | Source/core/html/BaseDateAndTimeInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/tests/LocaleMacTest.cpp
diff --git a/Source/WebKit/chromium/tests/LocaleMacTest.cpp b/Source/WebKit/chromium/tests/LocaleMacTest.cpp
index 3c3fcf8722bd15041a1d248bf1f98730951832f2..c74c0fe81cea30946757a4461f0fe0e444fd45cb 100644
--- a/Source/WebKit/chromium/tests/LocaleMacTest.cpp
+++ b/Source/WebKit/chromium/tests/LocaleMacTest.cpp
@@ -74,7 +74,7 @@ protected:
OwnPtr<LocaleMac> locale = LocaleMac::create(localeString);
DateComponents date;
unsigned end;
- date.parseWeek(isoString.bloatedCharacters(), isoString.length(), 0, end);
+ date.parseWeek(isoString, 0, end);
return locale->formatDateTime(date);
}
@@ -83,7 +83,7 @@ protected:
OwnPtr<LocaleMac> locale = LocaleMac::create(localeString);
DateComponents date;
unsigned end;
- date.parseMonth(isoString.bloatedCharacters(), isoString.length(), 0, end);
+ date.parseMonth(isoString, 0, end);
return locale->formatDateTime(date, (useShortFormat ? Locale::FormatTypeShort : Locale::FormatTypeMedium));
}
« no previous file with comments | « no previous file | Source/core/html/BaseDateAndTimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698