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

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: 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/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() {}

Powered by Google App Engine
This is Rietveld 408576698