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

Unified Diff: ash/system/chromeos/tray_display_unittest.cc

Issue 2131823003: mash: Minor ash/common fixes for tray_display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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/chromeos/tray_display.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/tray_display_unittest.cc
diff --git a/ash/system/chromeos/tray_display_unittest.cc b/ash/system/chromeos/tray_display_unittest.cc
index 60cbb0b578ff71983068fc591de3e8e2dd0dcd2c..e6e9acdffa707d1a8e4d9c3b7866382d43f858f5 100644
--- a/ash/system/chromeos/tray_display_unittest.cc
+++ b/ash/system/chromeos/tray_display_unittest.cc
@@ -6,7 +6,6 @@
#include "ash/common/system/chromeos/devicetype_utils.h"
#include "ash/display/display_manager.h"
-#include "ash/root_window_controller.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray.h"
@@ -126,8 +125,7 @@ TrayDisplay* TrayDisplayTest::GetTrayDisplay() {
}
void TrayDisplayTest::CheckUpdate() {
- SystemTray* current =
- Shell::GetPrimaryRootWindowController()->GetSystemTray();
+ SystemTray* current = GetPrimarySystemTray();
if (tray_ != current) {
tray_ = current;
tray_display_ = new TrayDisplay(tray_);
« no previous file with comments | « ash/system/chromeos/tray_display.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698