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

Unified Diff: ash/common/system/chromeos/audio/volume_view.cc

Issue 2675983003: views::Separator cleanup. (Closed)
Patch Set: revert test change Created 3 years, 10 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 | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/volume_view.cc
diff --git a/ash/common/system/chromeos/audio/volume_view.cc b/ash/common/system/chromeos/audio/volume_view.cc
index cd9ad591861020f7053bc0d6dc58c84de3b90b71..95509e426bc36f37d193c12020d5bd39e40e492e 100644
--- a/ash/common/system/chromeos/audio/volume_view.cc
+++ b/ash/common/system/chromeos/audio/volume_view.cc
@@ -204,9 +204,8 @@ VolumeView::VolumeView(SystemTrayItem* owner,
more_button_->SetInkDropMode(views::InkDropHostView::InkDropMode::ON);
tri_view_->AddView(TriView::Container::END, more_button_);
} else {
- separator_ = new views::Separator(views::Separator::VERTICAL);
+ separator_ = new views::Separator();
separator_->SetColor(kButtonStrokeColor);
- separator_->SetPreferredSize(kSeparatorSize);
separator_->SetBorder(views::CreateEmptyBorder(kSeparatorVerticalInset, 0,
kSeparatorVerticalInset,
kBoxLayoutPadding));
« no previous file with comments | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698