commit | 8142cc7a7fe456a03d36343a4420d117b7207c1c | [log] [tgz] |
---|---|---|
author | sanjoy.pal <sanjoy.pal@samsung.com> | Fri Jul 08 18:36:57 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jul 08 18:38:44 2016 |
tree | a6c6c83912e36da6aaa68a7c644f88869e68f702 | |
parent | 80330de86e05ab54a5cd17b9d3942d9f65b68983 [diff] |
Early return if we find selected shipping option from last. The spec requires using the last selected shipping option. Instead of going through the whole list of shipping options from front to back, iterate from back to front and early return on the first selected shipping option. BUG=587995 TEST=None (No behavior change) Review-Url: https://codereview.chromium.org/2131963002 Cr-Commit-Position: refs/heads/master@{#404449}