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

Unified Diff: chrome/browser/renderer_host/web_cache_manager.cc

Issue 214203002: Fix type conversion issues for Android x64 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 9 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: chrome/browser/renderer_host/web_cache_manager.cc
===================================================================
--- chrome/browser/renderer_host/web_cache_manager.cc (revision 258902)
+++ chrome/browser/renderer_host/web_cache_manager.cc (working copy)
@@ -328,7 +328,8 @@
size_t max_dead_capacity = capacity / 2;
#if defined(OS_ANDROID)
if (base::android::SysUtils::IsLowEndDevice())
- max_dead_capacity = std::min(512 * 1024U, max_dead_capacity);
+ max_dead_capacity = std::min(static_cast<size_t>(512 * 1024),
+ max_dead_capacity);
#endif
host->Send(new ChromeViewMsg_SetCacheCapacities(min_dead_capacity,
« no previous file with comments | « chrome/browser/memory_details_android.cc ('k') | content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698