Use base::size rather than arraysize
https://bugs.chromium.org/p/chromium/issues/detail?id=837308
This commit is contained in:
parent
a913e396d5
commit
abec938b0a
9 changed files with 23 additions and 19 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue