Commit 7407a48f authored by groby@chromium.org's avatar groby@chromium.org

[rAC, OSX] fix a few small style nits.

BUG=none
TEST=none
R=isherman@chromium.org

Review URL: https://codereview.chromium.org/62873006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235777 0039d316-1c4b-4281-b951-d872f2087c98
parent 7938b0a7
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment