summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_profile.cc
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-24 18:26:59 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-24 18:26:59 +0000
commit7ff65ca9f426a13726533d02f8edc6ce247064e2 (patch)
tree2e1b2224cd176b1305bb7a0f438ad9b2424726f5 /chrome/browser/autofill/autofill_profile.cc
parente56c5cb79855cfc4628e198ec070b433b65ed89e (diff)
downloadchromium_src-7ff65ca9f426a13726533d02f8edc6ce247064e2.zip
chromium_src-7ff65ca9f426a13726533d02f8edc6ce247064e2.tar.gz
chromium_src-7ff65ca9f426a13726533d02f8edc6ce247064e2.tar.bz2
Autofill: DCHECK in 'Add address...' dialog
Adds guid generation to default constructor of AutoFillProfile. BUG=60380 TEST=manual. TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/4063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_profile.cc')
-rw-r--r--chrome/browser/autofill/autofill_profile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_profile.cc b/chrome/browser/autofill/autofill_profile.cc
index bb45b75..7db628e 100644
--- a/chrome/browser/autofill/autofill_profile.cc
+++ b/chrome/browser/autofill/autofill_profile.cc
@@ -47,7 +47,8 @@ AutoFillProfile::AutoFillProfile(const std::string& guid)
}
AutoFillProfile::AutoFillProfile()
- : unique_id_(0) {
+ : unique_id_(0),
+ guid_(guid::GenerateGUID()) {
InitPersonalInfo(&personal_info_);
}