diff options
Diffstat (limited to 'chromium/components/history/content/browser/content_history_backend_db_unittest.cc')
-rw-r--r-- | chromium/components/history/content/browser/content_history_backend_db_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/components/history/content/browser/content_history_backend_db_unittest.cc b/chromium/components/history/content/browser/content_history_backend_db_unittest.cc index d189ba01f35..59c6a0284dd 100644 --- a/chromium/components/history/content/browser/content_history_backend_db_unittest.cc +++ b/chromium/components/history/content/browser/content_history_backend_db_unittest.cc @@ -21,7 +21,7 @@ #include <stddef.h> -#include "base/macros.h" +#include "base/stl_util.h" #include "components/history/core/test/history_backend_db_base_test.h" namespace history { @@ -89,11 +89,11 @@ TEST_F(ContentHistoryBackendDBTest, ConfirmDownloadInterruptReasonBackwardsCompatible) { // Are there any cases in which a historical number has been repurposed // for an error other than it's original? - for (size_t i = 0; i < arraysize(current_reasons); i++) { + for (size_t i = 0; i < base::size(current_reasons); i++) { const InterruptReasonAssociation& cur_reason(current_reasons[i]); bool found = false; - for (size_t j = 0; j < arraysize(historical_reasons); ++j) { + for (size_t j = 0; j < base::size(historical_reasons); ++j) { const InterruptReasonAssociation& hist_reason(historical_reasons[j]); if (hist_reason.value == cur_reason.value) { |