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

Unified Diff: ash/display/window_tree_host_manager_unittest.cc

Issue 2840393002: chromeos: converts TopLevelWindowFactoryTest to AshTestBase (Closed)
Patch Set: remove duplicate function Created 3 years, 8 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 | « no previous file | ash/mus/test/wm_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/window_tree_host_manager_unittest.cc
diff --git a/ash/display/window_tree_host_manager_unittest.cc b/ash/display/window_tree_host_manager_unittest.cc
index 6f03fff6a006a85327fe9af913a7beb1b3e40b41..8af27cfcb9b08ae35e06a6b6e7ee77f5d0da4e91 100644
--- a/ash/display/window_tree_host_manager_unittest.cc
+++ b/ash/display/window_tree_host_manager_unittest.cc
@@ -180,11 +180,6 @@ class TestObserver : public WindowTreeHostManager::Observer,
DISALLOW_COPY_AND_ASSIGN(TestObserver);
};
-display::Display GetPrimaryDisplay() {
- return display::Screen::GetScreen()->GetDisplayNearestWindow(
- Shell::GetAllRootWindows()[0]);
-}
-
class TestHelper {
public:
explicit TestHelper(test::AshTestBase* delegate);
« no previous file with comments | « no previous file | ash/mus/test/wm_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698