| 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 5b7f5c1f2b22a911f10f8e885c1fe1b8c12d58b5..eba69ac05b0a1a44ab4b9953061ba617a9223756 100644
|
| --- a/ui/views/test/views_test_base.cc
|
| +++ b/ui/views/test/views_test_base.cc
|
| @@ -31,9 +31,10 @@ void ViewsTestBase::SetUp() {
|
| views_delegate_.reset(new TestViewsDelegate());
|
| // The ContextFactory must exist before any Compositors are created.
|
| bool enable_pixel_output = false;
|
| - ui::InitializeContextFactoryForTests(enable_pixel_output);
|
| + ui::ContextFactory* context_factory =
|
| + ui::InitializeContextFactoryForTests(enable_pixel_output);
|
|
|
| - test_helper_.reset(ViewsTestHelper::Create(&message_loop_));
|
| + test_helper_.reset(ViewsTestHelper::Create(&message_loop_, context_factory));
|
| test_helper_->SetUp();
|
| ui::InitializeInputMethodForTesting();
|
| }
|
|
|