summaryrefslogtreecommitdiffstats
path: root/chrome/browser/character_encoding.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 21:01:06 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 21:01:06 +0000
commit035119bd22f67b6472f96752e8bf9ab5712cf8bb (patch)
tree455812a6603534dbc5874277060cde3e6611b34d /chrome/browser/character_encoding.cc
parente7d15770800da4b95deb591f0ff8a83e11db4b74 (diff)
downloadchromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.zip
chromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.tar.gz
chromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.tar.bz2
Make character_encoding.cc compile on Mac and Linux.
Review URL: http://codereview.chromium.org/21220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/character_encoding.cc')
-rw-r--r--chrome/browser/character_encoding.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/character_encoding.cc b/chrome/browser/character_encoding.cc
index 7144ca0..afcbbcd 100644
--- a/chrome/browser/character_encoding.cc
+++ b/chrome/browser/character_encoding.cc
@@ -20,7 +20,7 @@
namespace {
// The maximum length of short list of recently user selected encodings is 3.
-const int kUserSelectedEncodingsMaxLength = 3;
+const size_t kUserSelectedEncodingsMaxLength = 3;
typedef struct {
int resource_id;
@@ -431,4 +431,3 @@ bool CharacterEncoding::UpdateRecentlySelectdEncoding(
}
return true;
}
-