From 1b6dc3e04f3438ab25faff315890bc82e82a262a Mon Sep 17 00:00:00 2001 From: "avi@chromium.org" Date: Wed, 22 Dec 2010 15:08:08 +0000 Subject: 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 --- webkit/appcache/view_appcache_internals_job.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'webkit/appcache') 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("


"); -- cgit v1.1