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

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: Further renaming 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..4e2ae64992c6d521ee701a2a6b509738f1c2c4dc 100644
--- a/chrome/browser/ui/views/profile_reset_bubble_view.cc
+++ b/chrome/browser/ui/views/profile_reset_bubble_view.cc
@@ -260,7 +260,7 @@ 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(
+ controls_.report_settings_checkbox->SetBorder(
views::Border::CreateSolidSidedBorder(
kMarginWidth, kMarginWidth, kMarginWidth, kMarginWidth / 2,
kLightGrayBackgroundColor));

Powered by Google App Engine
This is Rietveld 408576698