Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1845)

Unified Diff: webkit/appcache/view_appcache_internals_job.cc

Issue 7189076: Localize strings, speeds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/base/text/bytes_formatting_unittest.cc ('K') | « ui/ui_unittests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/view_appcache_internals_job.cc
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc
index 2f61ce918e62b5c183191bc7aec4e7db010f7483..cdcf1718b34bdea94a11d38deff3f5d328f3b225 100644
--- a/webkit/appcache/view_appcache_internals_job.cc
+++ b/webkit/appcache/view_appcache_internals_job.cc
@@ -116,8 +116,7 @@ void AddHTMLFromAppCacheToOutput(
out->append("<ul>");
AddLiTag(kSize,
- UTF16ToUTF8(FormatBytes(
- info->size, GetByteDisplayUnits(info->size), true)),
+ UTF16ToUTF8(FormatBytesUnlocalized(info->size)),
out);
AddLiTag(kCreationTime,
UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->creation_time)),
« ui/base/text/bytes_formatting_unittest.cc ('K') | « ui/ui_unittests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698