summaryrefslogtreecommitdiffstats
path: root/chrome/browser/host_content_settings_map.cc
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 03:33:18 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 03:33:18 +0000
commitb3c9564b04438c11e46807ddb5dec21bb2dd50d7 (patch)
treea9fa0a16467dc3e523ae4105369c5c1c23a5ba18 /chrome/browser/host_content_settings_map.cc
parent08bc630cdb69b98c193661dc4e81e3ed81ccccff (diff)
downloadchromium_src-b3c9564b04438c11e46807ddb5dec21bb2dd50d7.zip
chromium_src-b3c9564b04438c11e46807ddb5dec21bb2dd50d7.tar.gz
chromium_src-b3c9564b04438c11e46807ddb5dec21bb2dd50d7.tar.bz2
Fix build break.
BUG=None TEST=Build builds Review URL: http://codereview.chromium.org/556088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/host_content_settings_map.cc')
-rw-r--r--chrome/browser/host_content_settings_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/host_content_settings_map.cc b/chrome/browser/host_content_settings_map.cc
index 595edbe..fcd8d71 100644
--- a/chrome/browser/host_content_settings_map.cc
+++ b/chrome/browser/host_content_settings_map.cc
@@ -120,7 +120,7 @@ void HostContentSettingsMap::SetContentSetting(const std::string& host,
HostContentSettings::iterator i(host_content_settings_.find(host));
ContentSettings& settings = i->second;
settings.settings[content_type] = setting;
- for (int i = 0; i < arraysize(settings.settings); ++i) {
+ for (size_t i = 0; i < arraysize(settings.settings); ++i) {
if (settings.settings[i] != CONTENT_SETTING_DEFAULT) {
all_default = false;
break;
@@ -177,7 +177,7 @@ void HostContentSettingsMap::GetSettingsFromDictionary(
bool found = dictionary->GetIntegerWithoutPathExpansion(content_type,
&setting);
DCHECK(found);
- for (int type = 0; type < arraysize(kTypeNames); ++type) {
+ for (size_t type = 0; type < arraysize(kTypeNames); ++type) {
if (std::wstring(kTypeNames[type]) == content_type) {
settings->settings[type] = static_cast<ContentSetting>(setting);
break;