diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 20:23:15 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 20:23:15 +0000 |
commit | 5a47d794cc59a72f7b5522258591fa2ab903f95c (patch) | |
tree | 17b93e8a28cc1ed9a9f37dc6d3516c4d7e797644 | |
parent | 66deb463c21178facf5b5410721ee444d9daceea (diff) | |
download | chromium_src-5a47d794cc59a72f7b5522258591fa2ab903f95c.zip chromium_src-5a47d794cc59a72f7b5522258591fa2ab903f95c.tar.gz chromium_src-5a47d794cc59a72f7b5522258591fa2ab903f95c.tar.bz2 |
Fix the ARM build. Clarify the logic with parentheses.
TBR=jcampan
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/502036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34740 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/autofill/credit_card_field.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autofill/credit_card_field.cc b/chrome/browser/autofill/credit_card_field.cc index 976ea07..7e0c3d0c 100644 --- a/chrome/browser/autofill/credit_card_field.cc +++ b/chrome/browser/autofill/credit_card_field.cc @@ -106,8 +106,8 @@ CreditCardField* CreditCardField::Parse( else pattern = ASCIIToUTF16("expir|exp month|exp date|ccmonth|&month"); - if (!credit_card_field.expiration_month_ || - credit_card_field.expiration_month_->IsEmpty() && + if ((!credit_card_field.expiration_month_ || + credit_card_field.expiration_month_->IsEmpty()) && ParseText(&q, pattern, &credit_card_field.expiration_month_)) { if (is_ecml) pattern = GetEcmlPattern(kEcmlCardExpireYear); |