| Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| index a89fa4fda242717e84a910b4153b34d312a40f69..c7f36c807e5a2682756d9b8021dbc9f8117ba4df 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| @@ -197,14 +197,14 @@ string16 AutofillDialogCocoa::GetTextContentsOfInput(const DetailInput& input) {
|
| void AutofillDialogCocoa::SetTextContentsOfInput(const DetailInput& input,
|
| const string16& contents) {
|
| [sheet_delegate_ setTextContents:base::SysUTF16ToNSString(contents)
|
| - forInput:input];
|
| + forInput:input];
|
| }
|
|
|
| void AutofillDialogCocoa::SetTextContentsOfSuggestionInput(
|
| DialogSection section,
|
| const base::string16& text) {
|
| [sheet_delegate_ setTextContents:base::SysUTF16ToNSString(text)
|
| - ofSuggestionForSection:section];
|
| + ofSuggestionForSection:section];
|
| }
|
|
|
| void AutofillDialogCocoa::ActivateInput(const DetailInput& input) {
|
| @@ -341,7 +341,7 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed(
|
|
|
| accountChooser_.reset([[AutofillAccountChooser alloc]
|
| initWithFrame:NSZeroRect
|
| - delegate:autofillDialog->delegate()]);
|
| + delegate:autofillDialog->delegate()]);
|
|
|
| loadingShieldTextField_.reset(
|
| [[NSTextField alloc] initWithFrame:NSZeroRect]);
|
| @@ -468,8 +468,7 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed(
|
| kAccountChooserHeight, NSMinYEdge);
|
| NSDivideRect(mainRect, &dummyRect, &mainRect,
|
| autofill::kDetailVerticalPadding, NSMinYEdge);
|
| - headerRect = NSInsetRect(
|
| - headerRect, chrome_style::kHorizontalPadding, 0);
|
| + headerRect = NSInsetRect(headerRect, chrome_style::kHorizontalPadding, 0);
|
| NSDivideRect(headerRect, &titleRect, &headerRect,
|
| NSWidth([titleTextField_ frame]), NSMinXEdge);
|
|
|
|
|