summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:56:17 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:56:17 +0000
commit576269a709da2e61481c7e1a5a3ac7771949d168 (patch)
treeb94236270a79f7b241e5d615b5d66e70ca651cc5 /chrome_frame/chrome_active_document.cc
parent27ed3baee75f2dd28eb837dafdb41c5bddc759cd (diff)
downloadchromium_src-576269a709da2e61481c7e1a5a3ac7771949d168.zip
chromium_src-576269a709da2e61481c7e1a5a3ac7771949d168.tar.gz
chromium_src-576269a709da2e61481c7e1a5a3ac7771949d168.tar.bz2
Use arraysize() instead of ARRAYSIZE_UNSAFE() where possible. Remove pointless comment about use of ARRAYSIZE_UNSAFE().
BUG=none TEST=none Review URL: http://codereview.chromium.org/2364003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r--chrome_frame/chrome_active_document.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index d850240..d9fa792 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -1131,8 +1131,6 @@ HRESULT ChromeActiveDocument::OnEncodingChange(const GUID* cmd_group_guid,
return E_FAIL;
}
- // Using ARRAYSIZE_UNSAFE in here is because we define the struct
- // EncodingMapData inside function.
const char* chrome_encoding_name = NULL;
for (int i = 0; i < ARRAYSIZE_UNSAFE(kEncodingTestDatas); ++i) {
const struct EncodingMapData* encoding_data = &kEncodingTestDatas[i];