Index: ios/chrome/browser/autofill/form_suggestion_controller.mm |
diff --git a/ios/chrome/browser/autofill/form_suggestion_controller.mm b/ios/chrome/browser/autofill/form_suggestion_controller.mm |
index 71a5d783d5b4e5f1c841b0424d17c1c6c417986c..2499d402ec3c72893d691289023a39e180ae90a0 100644 |
--- a/ios/chrome/browser/autofill/form_suggestion_controller.mm |
+++ b/ios/chrome/browser/autofill/form_suggestion_controller.mm |
@@ -13,7 +13,6 @@ |
#include "base/mac/scoped_nsobject.h" |
#include "base/strings/sys_string_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "components/autofill/core/browser/autofill_field_trial_ios.h" |
#include "components/autofill/core/browser/autofill_popup_delegate.h" |
#import "components/autofill/ios/browser/form_suggestion.h" |
#import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h" |
@@ -304,12 +303,7 @@ AutofillSuggestionState::AutofillSuggestionState(const std::string& form_name, |
forField:base::SysUTF8ToNSString(_suggestionState->field_name) |
form:base::SysUTF8ToNSString(_suggestionState->form_name) |
completionHandler:^{ |
- if (autofill::AutofillFieldTrialIOS::IsFullFormAutofillEnabled()) { |
- [[weakSelf accessoryViewDelegate] closeKeyboardWithoutButtonPress]; |
- } else { |
- [[weakSelf accessoryViewDelegate] |
- selectNextElementWithoutButtonPress]; |
- } |
+ [[weakSelf accessoryViewDelegate] closeKeyboardWithoutButtonPress]; |
}]; |
_provider = nil; |
} |