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

Unified Diff: chrome/browser/extensions/settings/settings_frontend.cc

Issue 10543080: Fix gcc 4.7 building problems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/settings/settings_frontend.cc
===================================================================
--- chrome/browser/extensions/settings/settings_frontend.cc (revision 141258)
+++ chrome/browser/extensions/settings/settings_frontend.cc (working copy)
@@ -91,9 +91,9 @@
SettingsStorageQuotaEnforcer::Limits GetLocalLimits() {
SettingsStorageQuotaEnforcer::Limits limits = {
- api::storage::local::QUOTA_BYTES,
- UINT_MAX,
- UINT_MAX
+ static_cast<size_t>(api::storage::local::QUOTA_BYTES),
+ std::numeric_limits<size_t>::max(),
+ std::numeric_limits<size_t>::max()
};
return limits;
}
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698