Index: chrome/browser/ui/cocoa/autofill/autofill_section_container.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm |
index 0372a7dd5b91f18d80acf91819c5bd6ef3a8c45e..245be41a32836760fdb8d8e0f4e5f0374c988680 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm |
@@ -651,10 +651,10 @@ bool ShouldOverwriteComboboxes(autofill::DialogSection section, |
[field setDefaultValue:@""]; |
control.reset(field.release()); |
} |
+ [control setTag:input.type]; |
[control setFieldValue:base::SysUTF16ToNSString(input.initial_value)]; |
[control sizeToFit]; |
[control setFrame:NSIntegralRect([control frame])]; |
- [control setTag:input.type]; |
[control setInputDelegate:self]; |
// Hide away fields that cannot be edited. |
if (kColumnSetId == -1) { |