diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
commit | 1b6dc3e04f3438ab25faff315890bc82e82a262a (patch) | |
tree | c1528eda75d2bfa70ae68d111b65d38920085c15 /webkit | |
parent | b81af210441caf958d664a7abc62050f009e464e (diff) | |
download | chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.zip chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.gz chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.bz2 |
Update the time formatting APIs to use string16.
BUG=23581
TEST=everything still works
Review URL: http://codereview.chromium.org/6064003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/appcache/view_appcache_internals_job.cc | 8 | ||||
-rw-r--r-- | webkit/blob/view_blob_internals_job.cc | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc index 12a2ab6..b4874db 100644 --- a/webkit/appcache/view_appcache_internals_job.cc +++ b/webkit/appcache/view_appcache_internals_job.cc @@ -113,15 +113,13 @@ void AddHTMLFromAppCacheToOutput( info->size, GetByteDisplayUnits(info->size), true)), out); AddLiTag(kCreationTime, - WideToUTF8(TimeFormatFriendlyDateAndTime( - info->creation_time)), + UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->creation_time)), out); AddLiTag(kLastAccessTime, - WideToUTF8( - TimeFormatFriendlyDateAndTime(info->last_access_time)), + UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->last_access_time)), out); AddLiTag(kLastUpdateTime, - WideToUTF8(TimeFormatFriendlyDateAndTime(info->last_update_time)), + UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->last_update_time)), out); out->append("</ul></p></br>"); diff --git a/webkit/blob/view_blob_internals_job.cc b/webkit/blob/view_blob_internals_job.cc index 6c91f54..eceb5cd 100644 --- a/webkit/blob/view_blob_internals_job.cc +++ b/webkit/blob/view_blob_internals_job.cc @@ -210,7 +210,7 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data, #endif out); if (!item.expected_modification_time().is_null()) { - AddHTMLListItem(kModificationTime, WideToUTF8( + AddHTMLListItem(kModificationTime, UTF16ToUTF8( TimeFormatFriendlyDateAndTime(item.expected_modification_time())), out); } |