| Index: third_party/WebKit/Source/platform/text/LocaleICU.cpp
|
| diff --git a/third_party/WebKit/Source/platform/text/LocaleICU.cpp b/third_party/WebKit/Source/platform/text/LocaleICU.cpp
|
| index 641e5527163128bee197e13debd0e1367d701838..5a471cf46d308c02c27559c383208b139410c824 100644
|
| --- a/third_party/WebKit/Source/platform/text/LocaleICU.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/LocaleICU.cpp
|
| @@ -166,17 +166,17 @@ UDateFormat* LocaleICU::openDateFormatForStandAloneMonthLabels(
|
|
|
| static String getDateFormatPattern(const UDateFormat* dateFormat) {
|
| if (!dateFormat)
|
| - return emptyString();
|
| + return emptyString;
|
|
|
| UErrorCode status = U_ZERO_ERROR;
|
| int32_t length = udat_toPattern(dateFormat, TRUE, 0, 0, &status);
|
| if (status != U_BUFFER_OVERFLOW_ERROR || !length)
|
| - return emptyString();
|
| + return emptyString;
|
| StringBuffer<UChar> buffer(length);
|
| status = U_ZERO_ERROR;
|
| udat_toPattern(dateFormat, TRUE, buffer.characters(), length, &status);
|
| if (U_FAILURE(status))
|
| - return emptyString();
|
| + return emptyString;
|
| return String::adopt(buffer);
|
| }
|
|
|
|
|