| Index: ui/aura/test/aura_test_helper.cc
|
| diff --git a/ui/aura/test/aura_test_helper.cc b/ui/aura/test/aura_test_helper.cc
|
| index a232d817d39f72ddb4bcf29b50d9deee3fc10ec6..e88c452a6426236515ac8e126734e23d1bbf3cd3 100644
|
| --- a/ui/aura/test/aura_test_helper.cc
|
| +++ b/ui/aura/test/aura_test_helper.cc
|
| @@ -99,6 +99,9 @@ void AuraTestHelper::SetUp(ui::ContextFactory* context_factory,
|
| // above.
|
| env_helper.SetMode(env_mode);
|
| env_helper.SetWindowTreeClient(window_tree_client_);
|
| + // Tests assume they can set the mouse location on Env() and have it reflected
|
| + // in tests.
|
| + env_helper.SetAlwaysUseLastMouseLocation(true);
|
| Env::GetInstance()->SetActiveFocusClient(focus_client_.get(), nullptr);
|
| Env::GetInstance()->set_context_factory(context_factory);
|
| Env::GetInstance()->set_context_factory_private(context_factory_private);
|
|
|