Index: components/search_provider_logos/logo_cache_unittest.cc |
diff --git a/components/search_provider_logos/logo_cache_unittest.cc b/components/search_provider_logos/logo_cache_unittest.cc |
index 7ed3447c87bc30bf41b50eb980f4af9144d230be..744d9f1fa9ca169d75a4c3d61470678d3214822a 100644 |
--- a/components/search_provider_logos/logo_cache_unittest.cc |
+++ b/components/search_provider_logos/logo_cache_unittest.cc |
@@ -4,6 +4,9 @@ |
#include "components/search_provider_logos/logo_cache.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/bind.h" |
@@ -90,7 +93,7 @@ void ExpectLogosEqual(const EncodedLogo& expected_logo, |
// Removes 1 byte from the end of the file at |path|. |
void ShortenFile(base::FilePath path) { |
base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); |
- int64 file_length = file.GetLength(); |
+ int64_t file_length = file.GetLength(); |
ASSERT_NE(file_length, 0); |
file.SetLength(file_length - 1); |
} |