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

Unified Diff: components/enhanced_bookmarks/test_image_store.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: components/enhanced_bookmarks/test_image_store.cc
diff --git a/components/enhanced_bookmarks/test_image_store.cc b/components/enhanced_bookmarks/test_image_store.cc
index 28c8de086240fc0e72810bd027f2296e2a2435a9..b28bd70f90d620d48939d05491032221087ff811 100644
--- a/components/enhanced_bookmarks/test_image_store.cc
+++ b/components/enhanced_bookmarks/test_image_store.cc
@@ -68,10 +68,10 @@ void TestImageStore::ClearAll() {
store_.clear();
}
-int64 TestImageStore::GetStoreSizeInBytes() {
+int64_t TestImageStore::GetStoreSizeInBytes() {
// Not 100% accurate, but it's for testing so the actual value is not
// important.
- int64 size = sizeof(store_);
+ int64_t size = sizeof(store_);
for (ImageMap::const_iterator it = store_.begin(); it != store_.end(); ++it) {
size += sizeof(it->first);
size += it->first.spec().length();
« no previous file with comments | « components/enhanced_bookmarks/test_image_store.h ('k') | components/error_page/renderer/net_error_helper_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698