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

Unified Diff: components/history/core/browser/android/android_urls_database.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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/history/core/browser/android/android_urls_database.cc
diff --git a/components/history/core/browser/android/android_urls_database.cc b/components/history/core/browser/android/android_urls_database.cc
index 43238b92a1ee377f9cda5458a676ff74ae3f25c6..13727ff5dbbdf1a431e288f113e62692c3f71d31 100644
--- a/components/history/core/browser/android/android_urls_database.cc
+++ b/components/history/core/browser/android/android_urls_database.cc
@@ -4,6 +4,8 @@
#include "components/history/core/browser/android/android_urls_database.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "sql/connection.h"
#include "sql/statement.h"
@@ -58,7 +60,7 @@ AndroidURLID AndroidURLsDatabase::AddAndroidURLRow(const std::string& raw_url,
"INSERT INTO android_urls (raw_url, url_id) VALUES (?, ?)"));
statement.BindString(0, raw_url);
- statement.BindInt64(1, static_cast<int64>(url_id));
+ statement.BindInt64(1, static_cast<int64_t>(url_id));
if (!statement.Run()) {
LOG(ERROR) << GetDB().GetErrorMessage();

Powered by Google App Engine
This is Rietveld 408576698