Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_section_container.mm

Issue 162813004: [OSX, rAC] Fix helpers to match Views behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698