| Index: ui/views/test/scoped_views_test_helper.cc
|
| diff --git a/ui/views/test/scoped_views_test_helper.cc b/ui/views/test/scoped_views_test_helper.cc
|
| index 624fb7e1c21a5508366c3bc3aa29e690f55fb164..8a65e0ebf61224cc945e07d0b60b5b7930431a3a 100644
|
| --- a/ui/views/test/scoped_views_test_helper.cc
|
| +++ b/ui/views/test/scoped_views_test_helper.cc
|
| @@ -44,7 +44,7 @@
|
| // context-factory is used when creating Widgets (to set-up the compositor for
|
| // the corresponding mus::Windows). So unset the context-factory, so that
|
| // NativeWidgetMus installs the correct context-factory that can talk to mus.
|
| - if (PlatformTestHelper::IsMus())
|
| + if (platform_test_helper_->IsMus())
|
| aura::Env::GetInstance()->set_context_factory(nullptr);
|
| #endif
|
|
|
| @@ -69,4 +69,8 @@
|
| return test_helper_->GetContext();
|
| }
|
|
|
| +bool ScopedViewsTestHelper::IsMus() const {
|
| + return platform_test_helper_->IsMus();
|
| +}
|
| +
|
| } // namespace views
|
|
|