Index: components/enhanced_bookmarks/persistent_image_store.cc |
diff --git a/components/enhanced_bookmarks/persistent_image_store.cc b/components/enhanced_bookmarks/persistent_image_store.cc |
index c35900e77c4832147781527af239d9e8e40d1c15..b36cb6d4eb9b77418a19073dfad459cdf96ef9cf 100644 |
--- a/components/enhanced_bookmarks/persistent_image_store.cc |
+++ b/components/enhanced_bookmarks/persistent_image_store.cc |
@@ -4,6 +4,8 @@ |
#include "components/enhanced_bookmarks/persistent_image_store.h" |
+#include <stddef.h> |
+ |
#include "base/files/file.h" |
#include "base/logging.h" |
#include "components/enhanced_bookmarks/image_store_util.h" |
@@ -307,7 +309,7 @@ void PersistentImageStore::ClearAll() { |
statement.Run(); |
} |
-int64 PersistentImageStore::GetStoreSizeInBytes() { |
+int64_t PersistentImageStore::GetStoreSizeInBytes() { |
base::File file(path_, base::File::FLAG_OPEN | base::File::FLAG_READ); |
return file.IsValid() ? file.GetLength() : -1; |
} |