Index: ui/views/corewm/capture_controller_unittest.cc |
diff --git a/ui/views/corewm/capture_controller_unittest.cc b/ui/views/corewm/capture_controller_unittest.cc |
index cf622d42a00ad92dee8c17e84c4d426f49bb1a47..9f5376881e5f8e85faeeb738e6dbf7e03065e62e 100644 |
--- a/ui/views/corewm/capture_controller_unittest.cc |
+++ b/ui/views/corewm/capture_controller_unittest.cc |
@@ -42,14 +42,11 @@ class CaptureControllerTest : public aura::test::AuraTestBase { |
new corewm::ScopedCaptureClient(second_host_->window())); |
#if !defined(OS_CHROMEOS) |
- desktop_position_client_.reset(new DesktopScreenPositionClient()); |
- aura::client::SetScreenPositionClient(root_window(), |
- desktop_position_client_.get()); |
- |
- second_desktop_position_client_.reset(new DesktopScreenPositionClient()); |
- aura::client::SetScreenPositionClient( |
- second_host_->window(), |
- second_desktop_position_client_.get()); |
+ desktop_position_client_.reset( |
+ new DesktopScreenPositionClient(root_window())); |
+ |
+ second_desktop_position_client_.reset( |
+ new DesktopScreenPositionClient(second_host_->window())); |
#endif |
} |