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

Unified Diff: third_party/crashpad/crashpad/client/settings.cc

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 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: third_party/crashpad/crashpad/client/settings.cc
diff --git a/third_party/crashpad/crashpad/client/settings.cc b/third_party/crashpad/crashpad/client/settings.cc
index d018e37f119b58a6981d36e6b19a72aa7dd0868a..7757ecb01c455754dbc271cbdb6cd4fd4cf95f55 100644
--- a/third_party/crashpad/crashpad/client/settings.cc
+++ b/third_party/crashpad/crashpad/client/settings.cc
@@ -55,7 +55,7 @@ struct Settings::Data {
uint32_t version;
uint32_t options;
uint32_t padding_0;
- uint64_t last_upload_attempt_time; // time_t
+ int64_t last_upload_attempt_time; // time_t
UUID client_id;
};
@@ -136,7 +136,7 @@ bool Settings::SetLastUploadAttemptTime(time_t time) {
if (!handle.is_valid())
return false;
- settings.last_upload_attempt_time = InRangeCast<uint64_t>(time, 0);
+ settings.last_upload_attempt_time = InRangeCast<int64_t>(time, 0);
return WriteSettings(handle.get(), settings);
}
« no previous file with comments | « third_party/crashpad/crashpad/client/prune_crash_reports.h ('k') | third_party/crashpad/crashpad/compat/mac/mach-o/getsect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698