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

Unified Diff: components/password_manager/core/browser/statistics_table.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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/password_manager/core/browser/statistics_table.cc
diff --git a/components/password_manager/core/browser/statistics_table.cc b/components/password_manager/core/browser/statistics_table.cc
index 5b8e7bd74946a2ff286a90bcb43119c6406f7fe3..dd6ba35029f633e3ae303c7418d67feea6cdb57c 100644
--- a/components/password_manager/core/browser/statistics_table.cc
+++ b/components/password_manager/core/browser/statistics_table.cc
@@ -4,6 +4,8 @@
#include "components/password_manager/core/browser/statistics_table.h"
+#include <stdint.h>
+
#include <algorithm>
#include <limits>
@@ -130,7 +132,7 @@ bool StatisticsTable::RemoveStatsBetween(base::Time delete_begin,
SQL_FROM_HERE,
"DELETE FROM stats WHERE update_time >= ? AND update_time < ?"));
s.BindInt64(0, delete_begin.ToInternalValue());
- s.BindInt64(1, delete_end.is_null() ? std::numeric_limits<int64>::max()
+ s.BindInt64(1, delete_end.is_null() ? std::numeric_limits<int64_t>::max()
: delete_end.ToInternalValue());
return s.Run();
}

Powered by Google App Engine
This is Rietveld 408576698