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

Unified Diff: chrome/browser/ui/views/profile_reset_bubble_view.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
Index: chrome/browser/ui/views/profile_reset_bubble_view.cc
diff --git a/chrome/browser/ui/views/profile_reset_bubble_view.cc b/chrome/browser/ui/views/profile_reset_bubble_view.cc
index cf7c2ff251900adfe0501790000dce36f625a4fa..ab51c02f87cee36bb4fbb4fef61b5e19ebada5e6 100644
--- a/chrome/browser/ui/views/profile_reset_bubble_view.cc
+++ b/chrome/browser/ui/views/profile_reset_bubble_view.cc
@@ -260,10 +260,12 @@ void ProfileResetBubbleView::SetupLayoutManager(bool report_checked) {
views::Background::CreateSolidBackground(kLightGrayBackgroundColor));
// Have a smaller margin on the right, to have the |controls_.help_button|
// closer to the edge.
- controls_.report_settings_checkbox->set_border(
- views::Border::CreateSolidSidedBorder(
- kMarginWidth, kMarginWidth, kMarginWidth, kMarginWidth / 2,
- kLightGrayBackgroundColor));
+ controls_.report_settings_checkbox->SetBorder(
+ views::Border::CreateSolidSidedBorder(kMarginWidth,
+ kMarginWidth,
+ kMarginWidth,
+ kMarginWidth / 2,
+ kLightGrayBackgroundColor));
// Help button to toggle the bottom panel on or off.
controls_.help_button = new views::ImageButton(this);
« no previous file with comments | « chrome/browser/ui/views/profile_chooser_view.cc ('k') | chrome/browser/ui/views/screen_capture_notification_ui_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698