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

Unified Diff: third_party/WebKit/Source/platform/text/PlatformLocale.cpp

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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: third_party/WebKit/Source/platform/text/PlatformLocale.cpp
diff --git a/third_party/WebKit/Source/platform/text/PlatformLocale.cpp b/third_party/WebKit/Source/platform/text/PlatformLocale.cpp
index 7c984cf85f4e923177ab4cb8e5b6c4ce6108a610..6ba7a1711fb31c5d74a82ce91082a54e50f46911 100644
--- a/third_party/WebKit/Source/platform/text/PlatformLocale.cpp
+++ b/third_party/WebKit/Source/platform/text/PlatformLocale.cpp
@@ -424,11 +424,11 @@ String Locale::localizedDecimalSeparator()
String Locale::formatDateTime(const DateComponents& date, FormatType formatType)
{
- if (date.type() == DateComponents::Invalid)
+ if (date.getType() == DateComponents::Invalid)
return String();
DateTimeStringBuilder builder(*this, date);
- switch (date.type()) {
+ switch (date.getType()) {
case DateComponents::Time:
builder.build(formatType == FormatTypeShort ? shortTimeFormat() : timeFormat());
break;

Powered by Google App Engine
This is Rietveld 408576698