| Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
|
| index 1e6e2d4fe0f46fa0f9f249a9948dddc34bc9215b..3c05e4f89d7f8bb1dca4cc0b5fef73ba2a3c74c8 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
|
| @@ -49,7 +49,6 @@
|
| #endif
|
|
|
| #if defined(USE_AURA)
|
| -#include "chrome/browser/ui/views/tabs/window_finder_mus.h" // nogncheck
|
| #include "content/public/common/service_manager_connection.h" // nogncheck
|
| #include "services/service_manager/runner/common/client_util.h" // nogncheck
|
| #include "ui/aura/env.h" // nogncheck
|
| @@ -225,17 +224,9 @@ TabDragController::TabDragController()
|
| is_mutating_(false),
|
| attach_x_(-1),
|
| attach_index_(-1),
|
| + window_finder_(new WindowFinder),
|
| weak_factory_(this) {
|
| instance_ = this;
|
| -
|
| -#if defined(USE_AURA)
|
| - content::ServiceManagerConnection* service_manager_connection =
|
| - content::ServiceManagerConnection::GetForProcess();
|
| - if (service_manager_connection && service_manager::ServiceManagerIsRemote())
|
| - window_finder_.reset(new WindowFinderMus);
|
| - else
|
| -#endif
|
| - window_finder_.reset(new WindowFinder);
|
| }
|
|
|
| TabDragController::~TabDragController() {
|
|
|