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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 145033006: views: Make View::set_border() take a scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT 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
« no previous file with comments | « chrome/browser/ui/views/autofill/info_bubble.cc ('k') | chrome/browser/ui/views/avatar_label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index 609a2b7cb59d1cb9184dfdaebe69fb3b151d1a36..4fbf85b2eb4c9ee3e04048fe0f00e0bc2612d47a 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -41,7 +41,7 @@ PasswordGenerationPopupViewViews::PasswordGenerationPopupViewViews(
password_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
password_label_->set_clip_insets(gfx::Insets(
kPasswordVerticalInset, 0, kPasswordVerticalInset, 0));
- password_label_->set_border(views::Border::CreateEmptyBorder(
+ password_label_->SetBorder(views::Border::CreateEmptyBorder(
0, controller_->kHorizontalPadding, 0, controller_->kHorizontalPadding));
AddChildView(password_label_);
@@ -59,7 +59,7 @@ PasswordGenerationPopupViewViews::PasswordGenerationPopupViewViews(
help_label->SetBoundsRect(controller->help_bounds());
help_label->set_background(
views::Background::CreateSolidBackground(kExplanatoryTextBackground));
- help_label->set_border(views::Border::CreateEmptyBorder(
+ help_label->SetBorder(views::Border::CreateEmptyBorder(
controller_->kHelpVerticalPadding - kHelpVerticalOffset,
controller_->kHorizontalPadding,
0,
« no previous file with comments | « chrome/browser/ui/views/autofill/info_bubble.cc ('k') | chrome/browser/ui/views/avatar_label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698