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

Unified Diff: ui/views/controls/scroll_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: Remove ClearBorder() 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: ui/views/controls/scroll_view.cc
diff --git a/ui/views/controls/scroll_view.cc b/ui/views/controls/scroll_view.cc
index d835c1ebdf8d08dcde30788b5cd3bbb61307cdfd..22dbcb0d6317af07978f5a8c2750d03738921e61 100644
--- a/ui/views/controls/scroll_view.cc
+++ b/ui/views/controls/scroll_view.cc
@@ -31,8 +31,9 @@ class ScrollViewWithBorder : public views::ScrollView {
private:
void SetThemeSpecificState() {
- set_border(Border::CreateSolidBorder(
- 1, GetNativeTheme()->GetSystemColor(
+ SetBorder(Border::CreateSolidBorder(
+ 1,
+ GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_UnfocusedBorderColor)));
}

Powered by Google App Engine
This is Rietveld 408576698