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

Unified Diff: media/cast/logging/logging_defines.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
« base/pickle.cc ('K') | « ipc/ipc_message_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index 455f85dd8618448c4400290d27749718b8c78b48..7d17507367345aa0c91bb9fa9925b111947db3f1 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -64,7 +64,7 @@ struct FrameEvent {
int height;
// Size of encoded frame in bytes. Only set for FRAME_ENCODED event.
- size_t size;
+ uint32_t size;
// Time of event logged.
base::TimeTicks timestamp;
@@ -100,7 +100,7 @@ struct PacketEvent {
uint32_t frame_id;
uint16_t max_packet_id;
uint16_t packet_id;
- size_t size;
+ uint32_t size;
// Time of event logged.
base::TimeTicks timestamp;
« base/pickle.cc ('K') | « ipc/ipc_message_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698