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

Unified Diff: ash/common/system/chromeos/session/logout_button_tray.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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: ash/common/system/chromeos/session/logout_button_tray.cc
diff --git a/ash/common/system/chromeos/session/logout_button_tray.cc b/ash/common/system/chromeos/session/logout_button_tray.cc
index 1bf1bc78aadb782d25b667cee3cf3327e4b81b22..25fdb936e121ec2c25ee09547726525b73728a53 100644
--- a/ash/common/system/chromeos/session/logout_button_tray.cc
+++ b/ash/common/system/chromeos/session/logout_button_tray.cc
@@ -120,7 +120,7 @@ LogoutButtonTray::LogoutButtonTray(WmShelf* wm_shelf)
}
tray_container()->AddChildView(button_);
if (!MaterialDesignController::IsShelfMaterial())
- tray_container()->SetBorder(views::Border::NullBorder());
+ tray_container()->SetBorder(views::NullBorder());
WmShell::Get()->system_tray_notifier()->AddLogoutButtonObserver(this);
}
@@ -134,7 +134,7 @@ void LogoutButtonTray::SetShelfAlignment(ShelfAlignment alignment) {
UpdateButtonTextAndImage(login_status_, alignment);
TrayBackgroundView::SetShelfAlignment(alignment);
if (!MaterialDesignController::IsShelfMaterial())
- tray_container()->SetBorder(views::Border::NullBorder());
+ tray_container()->SetBorder(views::NullBorder());
}
base::string16 LogoutButtonTray::GetAccessibleNameForTray() {

Powered by Google App Engine
This is Rietveld 408576698