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

Unified Diff: base/trace_event/trace_log.h

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry Created 4 years, 11 months 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: base/trace_event/trace_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index a079f04378aa98ee55ea301bc91cd982e4a8296f..e97f65e43268cea8144c285ada334180e17b5c34 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -39,8 +39,8 @@ class TraceSamplingThread;
struct BASE_EXPORT TraceLogStatus {
TraceLogStatus();
~TraceLogStatus();
- size_t event_capacity;
- size_t event_count;
+ uint32_t event_capacity;
+ uint32_t event_count;
};
class BASE_EXPORT TraceLog : public MemoryDumpProvider {
« base/pickle.cc ('K') | « base/pickle_unittest.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698