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

Unified Diff: ash/system/date/tray_date.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/date/tray_date.h
diff --git a/ash/system/date/tray_date.h b/ash/system/date/tray_date.h
index a10f2810454efdaa01c50dcbf6635f9d62458744..6e116429b57b92a340bb69a03bad95295f62ecc6 100644
--- a/ash/system/date/tray_date.h
+++ b/ash/system/date/tray_date.h
@@ -26,7 +26,7 @@ class TrayDate : public SystemTrayItem,
HORIZONTAL_CLOCK,
VERTICAL_CLOCK,
};
- TrayDate();
+ explicit TrayDate(SystemTray* system_tray);
virtual ~TrayDate();
private:

Powered by Google App Engine
This is Rietveld 408576698