Commit 0cdf20f5 authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Use base::size rather than arraysize in testing/.

This is purely a mechanical change; there is no intended behavior change.

BUG=837308
TBR=jbudorick@chromium.org

Change-Id: I65f8cb1557478dff4826ddab93764be0eeaf987d
Reviewed-on: https://chromium-review.googlesource.com/c/1390110Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618836}
parent e293d625
......@@ -22,6 +22,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_support_android.h"
#include "gtest/gtest.h"
......@@ -77,7 +78,7 @@ static void JNI_NativeTest_RunTests(
const JavaParamRef<jstring>& jtest_data_dir) {
// Command line initialized basically, will be fully initialized later.
static const char* const kInitialArgv[] = { "ChromeTestActivity" };
base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
base::CommandLine::Init(base::size(kInitialArgv), kInitialArgv);
std::vector<std::string> args;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment