summaryrefslogtreecommitdiffstats
path: root/content/common/android
diff options
context:
space:
mode:
authorviettrungluu <viettrungluu@chromium.org>2014-10-15 22:30:25 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-16 05:30:44 +0000
commit2dfaba7f52620e6cc36e689ae100c304459affc9 (patch)
tree508638fcdacbd9172e83835628416cc26c3e6a32 /content/common/android
parentb50f2e197843673d86460e92a377c7d037cbaa22 (diff)
downloadchromium_src-2dfaba7f52620e6cc36e689ae100c304459affc9.zip
chromium_src-2dfaba7f52620e6cc36e689ae100c304459affc9.tar.gz
chromium_src-2dfaba7f52620e6cc36e689ae100c304459affc9.tar.bz2
Convert ARRAYSIZE_UNSAFE -> arraysize in content/.
R=avi@chromium.org BUG=423134 Review URL: https://codereview.chromium.org/654403002 Cr-Commit-Position: refs/heads/master@{#299850}
Diffstat (limited to 'content/common/android')
-rw-r--r--content/common/android/address_parser_internal.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/android/address_parser_internal.cc b/content/common/android/address_parser_internal.cc
index b1a440d..cc71b24 100644
--- a/content/common/android/address_parser_internal.cc
+++ b/content/common/android/address_parser_internal.cc
@@ -340,7 +340,7 @@ bool FindStateStartingInWord(WordList* words,
};
DCHECK_EQ(state_names_accumulative[arraysize(state_names_accumulative) - 1],
- static_cast<int>(ARRAYSIZE_UNSAFE(state_names)));
+ static_cast<int>(arraysize(state_names)));
const Word& first_word = words->at(state_first_word);
int length = first_word.end - first_word.begin;
@@ -590,7 +590,7 @@ bool IsValidLocationName(const Word& word) {
DCHECK_EQ(
location_names_accumulative[arraysize(location_names_accumulative) - 1],
- static_cast<int>(ARRAYSIZE_UNSAFE(location_names)));
+ static_cast<int>(arraysize(location_names)));
if (!IsAsciiAlpha(*word.begin))
return false;