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

Unified Diff: ash/common/system/date/system_info_default_view.cc

Issue 2795823002: Remove pre-MD code from PowerStatusView. (Closed)
Patch Set: remove todo Created 3 years, 8 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/common/system/chromeos/power/power_status_view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/system_info_default_view.cc
diff --git a/ash/common/system/date/system_info_default_view.cc b/ash/common/system/date/system_info_default_view.cc
index 695453e5c75e470b88aae8816dad4a563f088c9c..c58583d7dda0e01e7f5378f4fc9aa7a48e0f82b7 100644
--- a/ash/common/system/date/system_info_default_view.cc
+++ b/ash/common/system/date/system_info_default_view.cc
@@ -37,7 +37,7 @@ SystemInfoDefaultView::SystemInfoDefaultView(SystemTrayItem* owner,
tri_view_->AddView(TriView::Container::START, date_view_);
if (PowerStatus::Get()->IsBatteryPresent()) {
- power_status_view_ = new ash::PowerStatusView(false);
+ power_status_view_ = new ash::PowerStatusView();
std::unique_ptr<views::BoxLayout> box_layout =
base::MakeUnique<views::BoxLayout>(views::BoxLayout::kHorizontal, 0, 0,
0);
« no previous file with comments | « ash/common/system/chromeos/power/power_status_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698