Index: ash/wm/workspace/workspace_event_filter_unittest.cc |
diff --git a/ash/wm/workspace/workspace_event_filter_unittest.cc b/ash/wm/workspace/workspace_event_filter_unittest.cc |
index 3965e93b41b003364f007b88672cb09547a1b47c..9aafb1fb1b8a3e7e58d15f13df3d857f36a27da2 100644 |
--- a/ash/wm/workspace/workspace_event_filter_unittest.cc |
+++ b/ash/wm/workspace/workspace_event_filter_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/wm/window_util.h" |
+#include "ash/wm/workspace_controller_test_helper.h" |
#include "ash/wm/workspace/workspace_manager.h" |
#include "ash/wm/workspace_controller.h" |
#include "ui/aura/test/event_generator.h" |
@@ -40,9 +41,9 @@ class WorkspaceEventFilterTest : public test::AshTestBase { |
}; |
TEST_F(WorkspaceEventFilterTest, DoubleClickSingleAxisResizeEdge) { |
- Shell::TestApi shell_test(Shell::GetInstance()); |
- WorkspaceManager* manager = |
- shell_test.workspace_controller()->workspace_manager(); |
+ WorkspaceControllerTestHelper workspace_helper( |
+ Shell::TestApi(Shell::GetInstance()).workspace_controller()); |
+ WorkspaceManager* manager = workspace_helper.workspace_manager(); |
manager->set_grid_size(0); |
// Double clicking the vertical resize edge of a window should maximize it |