[Payments] Use the correct index when checking addresses
We have an off-by-one error now that the mOptionLayout can have multiple children in it above the actual options. * Use the correct index when indexing into the options layout. * Add a test that checks for the crash and additionally checks that the "merchant doesn't accept address" string is correctly displayed. * Plumbs a new callback that indicates that the client has finished checking the selection. BUG=630348 Review-Url: https://codereview.chromium.org/2170603006 Cr-Commit-Position: refs/heads/master@{#407197}
Showing
Please register or sign in to comment