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

Unified Diff: ash/wm/shelf_layout_manager_unittest.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/user/tray_user.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shelf_layout_manager_unittest.cc
diff --git a/ash/wm/shelf_layout_manager_unittest.cc b/ash/wm/shelf_layout_manager_unittest.cc
index 984ef6c2ebc8748a54a38df4292eb2ebd6b10e0b..2c031d9b4c9f5d327ba70df040219c0c9bed18ac 100644
--- a/ash/wm/shelf_layout_manager_unittest.cc
+++ b/ash/wm/shelf_layout_manager_unittest.cc
@@ -80,7 +80,8 @@ class ShelfLayoutObserverTest : public ShelfLayoutManager::Observer {
class TestItem : public SystemTrayItem {
public:
TestItem()
- : tray_view_(NULL),
+ : SystemTrayItem(Shell::GetInstance()->system_tray()),
+ tray_view_(NULL),
default_view_(NULL),
detailed_view_(NULL),
notification_view_(NULL) {}
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698