Use base::size rather than arraysize

https://bugs.chromium.org/p/chromium/issues/detail?id=837308
This commit is contained in:
deepak1556 2019-01-21 23:56:33 +05:30
parent a913e396d5
commit abec938b0a
9 changed files with 23 additions and 19 deletions

View file

@ -478,7 +478,7 @@ void AtomBrowserClient::AppendExtraCommandLineSwitches(
switches::kServiceWorkerSchemes};
command_line->CopySwitchesFrom(*base::CommandLine::ForCurrentProcess(),
kCommonSwitchNames,
arraysize(kCommonSwitchNames));
base::size(kCommonSwitchNames));
#if defined(OS_WIN)
// Append --app-user-model-id.