Index: chrome/browser/autofill/autofill_profile.cc |
diff --git a/chrome/browser/autofill/autofill_profile.cc b/chrome/browser/autofill/autofill_profile.cc |
index 40a749b2e8347fd18f9a6f5b25459a4b28864492..b269865b645a60fa6a1fc423056a3992e73225cb 100644 |
--- a/chrome/browser/autofill/autofill_profile.cc |
+++ b/chrome/browser/autofill/autofill_profile.cc |
@@ -379,6 +379,9 @@ bool AutoFillProfile::IsEmpty() const { |
} |
void AutoFillProfile::operator=(const AutoFillProfile& source) { |
+ if (this == &source) |
+ return; |
+ |
label_ = source.label_; |
guid_ = source.guid_; |