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

Unified Diff: components/web_cache/common/web_cache_messages.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: components/web_cache/common/web_cache_messages.h
diff --git a/components/web_cache/common/web_cache_messages.h b/components/web_cache/common/web_cache_messages.h
index 5ff9f2545ea08c7a2864b9d0aa966f28bed07d89..58f9c70b825237e9093ff7e5873481702ac0f04f 100644
--- a/components/web_cache/common/web_cache_messages.h
+++ b/components/web_cache/common/web_cache_messages.h
@@ -17,9 +17,9 @@
// Tells the renderer to set its maximum cache size to the supplied value.
IPC_MESSAGE_CONTROL3(WebCacheMsg_SetCacheCapacities,
- size_t /* min_dead_capacity */,
- size_t /* max_dead_capacity */,
- size_t /* capacity */)
+ uint32_t /* min_dead_capacity */,
+ uint32_t /* max_dead_capacity */,
+ uint32_t /* capacity */)
// Tells the renderer to clear the cache.
IPC_MESSAGE_CONTROL1(WebCacheMsg_ClearCache,

Powered by Google App Engine
This is Rietveld 408576698