diff options
Diffstat (limited to 'content/renderer/date_time_formatter.cc')
-rw-r--r-- | content/renderer/date_time_formatter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/date_time_formatter.cc b/content/renderer/date_time_formatter.cc index 1adb0de..d3c16e3 100644 --- a/content/renderer/date_time_formatter.cc +++ b/content/renderer/date_time_formatter.cc @@ -95,7 +95,7 @@ const std::string DateTimeFormatter::FormatString() const { UErrorCode success = U_ZERO_ERROR; if (year_ == 0 && month_ == 0 && day_ == 0 && hour_ == 0 && minute_ == 0 && second_ == 0) { - return std::string(); + return ""; } std::string result; @@ -113,7 +113,7 @@ const std::string DateTimeFormatter::FormatString() const { return result; } LOG(WARNING) << "Calendar not created: error " << success; - return std::string(); + return ""; } void DateTimeFormatter::ExtractType( |