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

Unified Diff: ash/system/tray/system_tray_bubble.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 | « ash/system/tray/special_popup_row.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_bubble.cc
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc
index b3a0451493b65003a1ebf94393b33ecc126b3387..33b4ba11ff29c4b300f242a35194084bddc3d34f 100644
--- a/ash/system/tray/system_tray_bubble.cc
+++ b/ash/system/tray/system_tray_bubble.cc
@@ -48,7 +48,7 @@ class TrayPopupItemContainer : public views::View {
change_background_(change_background) {
set_notify_enter_exit_on_child(true);
if (draw_border) {
- set_border(
+ SetBorder(
views::Border::CreateSolidSidedBorder(0, 0, 1, 0, kBorderLightColor));
}
views::BoxLayout* layout = new views::BoxLayout(
« no previous file with comments | « ash/system/tray/special_popup_row.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698