summaryrefslogtreecommitdiffstats
path: root/chrome/browser/host_content_settings_map.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 04:47:59 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 04:47:59 +0000
commitf62137ec7e3403f118893a5e7633360a1a960f67 (patch)
treed91b7cb6e1b54cc12722bde0e899c473bfe72a84 /chrome/browser/host_content_settings_map.cc
parent2d5a359ac6ce676191017e8ed4c07d99061e3883 (diff)
downloadchromium_src-f62137ec7e3403f118893a5e7633360a1a960f67.zip
chromium_src-f62137ec7e3403f118893a5e7633360a1a960f67.tar.gz
chromium_src-f62137ec7e3403f118893a5e7633360a1a960f67.tar.bz2
Fix some signedness issues.
TBR=darin BUG=33314 TEST=none Review URL: http://codereview.chromium.org/557069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/host_content_settings_map.cc')
-rw-r--r--chrome/browser/host_content_settings_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/host_content_settings_map.cc b/chrome/browser/host_content_settings_map.cc
index fcd8d71..602b35c 100644
--- a/chrome/browser/host_content_settings_map.cc
+++ b/chrome/browser/host_content_settings_map.cc
@@ -21,7 +21,8 @@ const wchar_t* HostContentSettingsMap::kTypeNames[] = {
HostContentSettingsMap::HostContentSettingsMap(Profile* profile)
: profile_(profile) {
- DCHECK(arraysize(kTypeNames) == CONTENT_SETTINGS_NUM_TYPES);
+ DCHECK_EQ(arraysize(kTypeNames),
+ static_cast<size_t>(CONTENT_SETTINGS_NUM_TYPES));
const DictionaryValue* default_settings_dictionary =
profile_->GetPrefs()->GetDictionary(prefs::kDefaultContentSettings);