| Index: chrome/test/base/view_event_test_platform_part_ash.cc
|
| diff --git a/chrome/test/base/view_event_test_platform_part_ash.cc b/chrome/test/base/view_event_test_platform_part_ash.cc
|
| index 7ea2da1110a79691d0a9a8c3c53b3576b430559a..89f3c94c9a55aecf892c1aeeae5599eb55edc077 100644
|
| --- a/chrome/test/base/view_event_test_platform_part_ash.cc
|
| +++ b/chrome/test/base/view_event_test_platform_part_ash.cc
|
| @@ -27,7 +27,6 @@
|
| private:
|
| scoped_ptr<gfx::Screen> screen_;
|
| wm::WMState wm_state_;
|
| - scoped_ptr<aura::Env> env_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartAsh);
|
| };
|
| @@ -38,12 +37,12 @@
|
| // http://crbug.com/154081 use ash::Shell code path below on win_ash bots when
|
| // interactive_ui_tests is brought up on that platform.
|
| gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get());
|
| - env_ = aura::Env::CreateInstance();
|
| + aura::Env::CreateInstance(true);
|
| aura::Env::GetInstance()->set_context_factory(context_factory);
|
| }
|
|
|
| ViewEventTestPlatformPartAsh::~ViewEventTestPlatformPartAsh() {
|
| - env_.reset();
|
| + aura::Env::DeleteInstance();
|
| gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, nullptr);
|
| }
|
|
|
|
|