Index: components/search_engines/default_search_pref_migration.cc |
diff --git a/components/search_engines/default_search_pref_migration.cc b/components/search_engines/default_search_pref_migration.cc |
index 0abcd4373b873d5cd2907a096c1d124864763c73..bf1835a0d4f29a62fb3cbdc506de75d8a302b51b 100644 |
--- a/components/search_engines/default_search_pref_migration.cc |
+++ b/components/search_engines/default_search_pref_migration.cc |
@@ -4,6 +4,9 @@ |
#include "components/search_engines/default_search_pref_migration.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/logging.h" |
@@ -82,7 +85,7 @@ scoped_ptr<TemplateURLData> LoadDefaultSearchProviderFromLegacyPrefs( |
std::string id_string = prefs->GetString(prefs::kDefaultSearchProviderID); |
if (!id_string.empty()) { |
- int64 value; |
+ int64_t value; |
base::StringToInt64(id_string, &value); |
default_provider_data->id = value; |
} |