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

Unified Diff: ash/common/system/chromeos/screen_security/screen_tray_item.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/screen_security/screen_tray_item.cc
diff --git a/ash/common/system/chromeos/screen_security/screen_tray_item.cc b/ash/common/system/chromeos/screen_security/screen_tray_item.cc
index ff8dd45a100a803417e53a924e23c20305ce9a5d..57635abd8919a2868fc7446733178233cfb82aa9 100644
--- a/ash/common/system/chromeos/screen_security/screen_tray_item.cc
+++ b/ash/common/system/chromeos/screen_security/screen_tray_item.cc
@@ -81,7 +81,7 @@ void ScreenStatusView::CreateItems() {
layout->set_cross_axis_alignment(
views::BoxLayout::CROSS_AXIS_ALIGNMENT_CENTER);
SetLayoutManager(layout);
- SetBorder(views::Border::CreateEmptyBorder(
+ SetBorder(views::CreateEmptyBorder(
0, kTrayPopupPaddingHorizontal, 0,
use_md ? kTrayPopupButtonEndMargin : kStopButtonRightPadding));
@@ -101,8 +101,8 @@ void ScreenStatusView::CreateItems() {
label_->SetMultiLine(true);
label_->SetText(label_text_);
if (!use_md) {
- label_->SetBorder(views::Border::CreateEmptyBorder(
- 0, kTrayPopupPaddingBetweenItems, 0, 0));
+ label_->SetBorder(
+ views::CreateEmptyBorder(0, kTrayPopupPaddingBetweenItems, 0, 0));
}
AddChildView(label_);
layout->SetFlexForView(label_, 1);
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tray.cc ('k') | ash/common/system/chromeos/session/logout_button_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698