Index: chrome/browser/ui/views/appcache_info_view.cc |
diff --git a/chrome/browser/ui/views/appcache_info_view.cc b/chrome/browser/ui/views/appcache_info_view.cc |
index 199d256fd63daf585686168fb5b11c58e9e9ff07..b4add97a166dfbd8fe7a08d5777fc46f91447c31 100644 |
--- a/chrome/browser/ui/views/appcache_info_view.cc |
+++ b/chrome/browser/ui/views/appcache_info_view.cc |
@@ -8,6 +8,7 @@ |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
#include "grit/generated_resources.h" |
+#include "ui/base/text/bytes_formatting.h" |
namespace { |
const int kInfoLabelIds[] = { |
@@ -27,7 +28,7 @@ void AppCacheInfoView::SetAppCacheInfo(const appcache::AppCacheInfo* info) { |
string16 manifest_url = |
UTF8ToUTF16(info->manifest_url.spec()); |
string16 size = |
- FormatBytes(info->size, GetByteDisplayUnits(info->size), true); |
+ ui::FormatBytes(info->size); |
string16 creation_date = |
base::TimeFormatFriendlyDateAndTime(info->creation_time); |
string16 last_access_date = |