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

Unified Diff: ash/system/settings/tray_settings.cc

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix single-letter typo :(. 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
« no previous file with comments | « ash/system/settings/tray_settings.h ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/settings/tray_settings.cc
diff --git a/ash/system/settings/tray_settings.cc b/ash/system/settings/tray_settings.cc
index ae1823d4e16b53ca96e607fac2c71dc76d0a2aa9..768883f9c70b8067f4b0f282922a004df76cd587 100644
--- a/ash/system/settings/tray_settings.cc
+++ b/ash/system/settings/tray_settings.cc
@@ -114,8 +114,9 @@ class SettingsDefaultView : public ash::internal::ActionableView {
} // namespace tray
-TraySettings::TraySettings()
- : default_view_(NULL) {
+TraySettings::TraySettings(SystemTray* system_tray)
+ : SystemTrayItem(system_tray),
+ default_view_(NULL) {
}
TraySettings::~TraySettings() {}
« no previous file with comments | « ash/system/settings/tray_settings.h ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698