Index: components/autofill/core/browser/autofill_manager.cc |
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
index 640fa8912495b872f3ee90cc0036cfe9d44a4c65..98aabf7aec1c431f9db2953cb06017ad703db6d2 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -964,7 +964,7 @@ bool AutofillManager::RefreshDataModels() { |
for (AutofillProfile* profile : profiles) { |
if (profile->record_type() == AutofillProfile::LOCAL_PROFILE) |
is_local_data_available = true; |
- else |
+ else if (profile->record_type() == AutofillProfile::SERVER_PROFILE) |
is_server_data_available = true; |
} |
address_form_event_logger_->set_is_server_data_available( |