diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 20:05:14 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 20:05:14 +0000 |
commit | 22b8141e6627e1f5ce26c0d36e47938460c08f09 (patch) | |
tree | d4bd240164f0f10d3a7c0877572ddaf744774ed3 /chrome/browser/ssl_error_info.cc | |
parent | b70dac9fe67d8b1d8b997b6861e78687da2a0e49 (diff) | |
download | chromium_src-22b8141e6627e1f5ce26c0d36e47938460c08f09.zip chromium_src-22b8141e6627e1f5ce26c0d36e47938460c08f09.tar.gz chromium_src-22b8141e6627e1f5ce26c0d36e47938460c08f09.tar.bz2 |
Platform cleanup in browser/ and porting of few files.
Review URL: http://codereview.chromium.org/14466
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl_error_info.cc')
-rw-r--r-- | chrome/browser/ssl_error_info.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ssl_error_info.cc b/chrome/browser/ssl_error_info.cc index 8bae914..55fe353 100644 --- a/chrome/browser/ssl_error_info.cc +++ b/chrome/browser/ssl_error_info.cc @@ -7,7 +7,6 @@ #include "base/string_util.h" #include "chrome/browser/cert_store.h" #include "chrome/common/l10n_util.h" -#include "chrome/common/resource_bundle.h" #include "chrome/common/time_format.h" #include "net/base/cert_status_flags.h" #include "net/base/net_errors.h" @@ -235,7 +234,7 @@ int SSLErrorInfo::GetErrorsForCertStatus(int cert_id, scoped_refptr<net::X509Certificate> cert = NULL; int count = 0; - for (int i = 0; i < arraysize(kErrorFlags); ++i) { + for (size_t i = 0; i < arraysize(kErrorFlags); ++i) { if (cert_status & kErrorFlags[i]) { count++; if (!cert.get()) { |