Use new helper for Java arrays in VrShell.

Use the new JavaRef<jobjectArray>::ReadElements helper to iterate
through array elements in VrShell::OnTabListCreated.

Change-Id: Ib1857000231e896428bc126bbbf08580e7644d8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1623458
Auto-Submit: Richard Coles <torne@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662065}
2 files changed