diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 22:23:20 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 22:23:20 +0000 |
commit | 225c8f507421a2eff2ed7a900104431d04ed7e5e (patch) | |
tree | 770b7081fc8f2a15abe4635938e03550f010a526 /chrome/browser/autofill/contact_info.cc | |
parent | f3f0c05dfbcbfec2ecbb79ba9bab6ffc8f93ea32 (diff) | |
download | chromium_src-225c8f507421a2eff2ed7a900104431d04ed7e5e.zip chromium_src-225c8f507421a2eff2ed7a900104431d04ed7e5e.tar.gz chromium_src-225c8f507421a2eff2ed7a900104431d04ed7e5e.tar.bz2 |
linux: build with -Wextra
95% of this is removing "const" from return types, but turning this
on found one bug! (A "for" loop that expected its iterator to go negative but
which was using an unsigned type.)
BUG=34160
Review URL: http://codereview.chromium.org/570012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/contact_info.cc')
-rw-r--r-- | chrome/browser/autofill/contact_info.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autofill/contact_info.cc b/chrome/browser/autofill/contact_info.cc index 266ea8e..37c5714 100644 --- a/chrome/browser/autofill/contact_info.cc +++ b/chrome/browser/autofill/contact_info.cc @@ -150,7 +150,8 @@ string16 ContactInfo::MiddleInitial() const { } ContactInfo::ContactInfo(const ContactInfo& contact_info) - : first_tokens_(contact_info.first_tokens_), + : FormGroup(), + first_tokens_(contact_info.first_tokens_), middle_tokens_(contact_info.middle_tokens_), last_tokens_(contact_info.last_tokens_), first_(contact_info.first_), |