[Autofill] Fix credit card date parsing on AlaskaAir checkout form.
commit0c73e0d086d0872cccf65eff6a669142d3cdd7bb
authorisherman <isherman@chromium.org>
Wed, 29 Oct 2014 02:05:37 +0000 (28 19:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Oct 2014 02:05:57 +0000 (29 02:05 +0000)
treee8a531b8a748ac26fce556d5259f63d7782ce45a
parent129f68edb6e69638baaa239f1e20e3cd948813ee
[Autofill] Fix credit card date parsing on AlaskaAir checkout form.

* Only parse credit card dates if there aren't any dates parsed yet.
* Some minor logic and style cleanup.

BUG=425818
TEST=browser_tests
R=estade@chromium.org

Review URL: https://codereview.chromium.org/682293002

Cr-Commit-Position: refs/heads/master@{#301769}
chrome/test/data/autofill/heuristics/output/20_checkout_alaskaair.com.out
components/autofill/core/browser/credit_card_field.cc