| Index: ui/views/test/views_test_base.cc
|
| diff --git a/ui/views/test/views_test_base.cc b/ui/views/test/views_test_base.cc
|
| index 996582f6e523fe14a91cec0a532a1372037a1ac5..00a7cb3b149155160a9bcb26c98c585cc05d5a3d 100644
|
| --- a/ui/views/test/views_test_base.cc
|
| +++ b/ui/views/test/views_test_base.cc
|
| @@ -4,10 +4,6 @@
|
|
|
| #include "ui/views/test/views_test_base.h"
|
|
|
| -#if defined(USE_ASH)
|
| -#include "ui/aura/test/test_screen.h"
|
| -#endif
|
| -
|
| #if defined(USE_AURA)
|
| #include "base/compiler_specific.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| @@ -16,8 +12,10 @@
|
| #include "ui/aura/root_window.h"
|
| #include "ui/aura/single_monitor_manager.h"
|
| #include "ui/aura/test/test_activation_client.h"
|
| +#include "ui/aura/test/test_screen.h"
|
| #include "ui/aura/test/test_stacking_client.h"
|
| #include "ui/base/ime/input_method.h"
|
| +#include "ui/gfx/screen.h"
|
|
|
| namespace {
|
|
|
| @@ -85,9 +83,7 @@ void ViewsTestBase::SetUp() {
|
| #if defined(USE_AURA)
|
| aura::Env::GetInstance()->SetMonitorManager(new aura::SingleMonitorManager);
|
| root_window_.reset(aura::MonitorManager::CreateRootWindowForPrimaryMonitor());
|
| -#if defined(USE_ASH)
|
| gfx::Screen::SetInstance(new aura::TestScreen(root_window_.get()));
|
| -#endif // USE_ASH
|
| root_window_->SetProperty(
|
| aura::client::kRootWindowInputMethodKey,
|
| test_input_method_.get());
|
|
|