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

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

Issue 138943002: [rAC, OSX] Adjust red outline for NSPopUpButtons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
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 d67a1b3b5fca636ad9ba70ce9bae75476568bdc7..0525686b8605f917f2849f457f5f6b377aa4521b 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
@@ -643,6 +643,7 @@ bool ShouldOverwriteComboboxes(autofill::DialogSection section,
}
[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.

Powered by Google App Engine
This is Rietveld 408576698