| Index: ash/focus_cycler_unittest.cc
|
| diff --git a/ash/focus_cycler_unittest.cc b/ash/focus_cycler_unittest.cc
|
| index 3dd2482c16fc1efdad54a2e5d02a4985f3f4e296..c21a1f9d78e22e19c34247b6686b3799e9dc5fd9 100644
|
| --- a/ash/focus_cycler_unittest.cc
|
| +++ b/ash/focus_cycler_unittest.cc
|
| @@ -34,11 +34,10 @@ internal::StatusAreaWidgetDelegate* GetStatusAreaWidgetDelegate(
|
| }
|
|
|
| SystemTray* CreateSystemTray() {
|
| - SystemTray* tray = new SystemTray;
|
| internal::StatusAreaWidget* widget = new internal::StatusAreaWidget;
|
| - widget->AddTray(tray);
|
| + widget->CreateTrayViews(NULL);
|
| widget->Show();
|
| - return tray;
|
| + return widget->system_tray();
|
| }
|
|
|
| } // namespace
|
|
|