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

Unified Diff: ash/system/brightness/tray_brightness.h

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary forward declarations. Renamed |tray| to |owner|. Created 8 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/system/brightness/tray_brightness.h
diff --git a/ash/system/brightness/tray_brightness.h b/ash/system/brightness/tray_brightness.h
index 6fc658f5c357cb1a11c225612ee539b3c994a4a4..732f1d8bca3037e10803196ebe00c69ca59c9cd6 100644
--- a/ash/system/brightness/tray_brightness.h
+++ b/ash/system/brightness/tray_brightness.h
@@ -20,7 +20,7 @@ class BrightnessView;
class TrayBrightness : public SystemTrayItem,
public BrightnessObserver {
public:
- TrayBrightness();
+ explicit TrayBrightness(SystemTray* system_tray);
virtual ~TrayBrightness();
private:

Powered by Google App Engine
This is Rietveld 408576698