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

Unified Diff: ash/common/system/chromeos/brightness/tray_brightness.cc

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ash_unittests compile errors. Created 4 years, 5 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
Index: ash/common/system/chromeos/brightness/tray_brightness.cc
diff --git a/ash/common/system/chromeos/brightness/tray_brightness.cc b/ash/common/system/chromeos/brightness/tray_brightness.cc
index 8703cb2bd129d23bdabdb969c848bf17080d9fab..f9318478cb3ad285cbff9bc7d7bba5af811b6b59 100644
--- a/ash/common/system/chromeos/brightness/tray_brightness.cc
+++ b/ash/common/system/chromeos/brightness/tray_brightness.cc
@@ -171,7 +171,7 @@ void BrightnessView::SliderDragEnded(views::Slider* slider) {
} // namespace tray
TrayBrightness::TrayBrightness(SystemTray* system_tray)
- : SystemTrayItem(system_tray),
+ : SystemTrayItem(system_tray, DISPLAY_BRIGHTNESS),
brightness_view_(NULL),
current_percent_(100.0),
got_current_percent_(false),

Powered by Google App Engine
This is Rietveld 408576698