diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 23:11:28 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 23:11:28 +0000 |
commit | 7b83a107f3feaa0bd220b0ac6f983d7a3b82c44e (patch) | |
tree | 3f64360ee3d06327326187ace7065957c264efe2 /webkit/appcache | |
parent | c48d1ef5985b7084bdbca953db85fae43ca564c5 (diff) | |
download | chromium_src-7b83a107f3feaa0bd220b0ac6f983d7a3b82c44e.zip chromium_src-7b83a107f3feaa0bd220b0ac6f983d7a3b82c44e.tar.gz chromium_src-7b83a107f3feaa0bd220b0ac6f983d7a3b82c44e.tar.bz2 |
Convert FormatBytes to string16.
I considered ASCII, but it's producing what is intended to be a
human-readable string. For example, in theory the "bytes/s" annotation
could be localized into a language where the "b" is non-ASCII.
Review URL: http://codereview.chromium.org/3107021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/view_appcache_internals_job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc index f96fe37..93390cc 100644 --- a/webkit/appcache/view_appcache_internals_job.cc +++ b/webkit/appcache/view_appcache_internals_job.cc @@ -109,7 +109,7 @@ void AddHTMLFromAppCacheToOutput( out->append("<ul>"); AddLiTag(kSize, - WideToUTF8(FormatBytes( + UTF16ToUTF8(FormatBytes( info->size, GetByteDisplayUnits(info->size), true)), out); AddLiTag(kCreationTime, |