| Index: content/public/test/test_renderer_host.cc
|
| diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
|
| index abaa4cefe2f6dda4520e8ec5bc571349ff2c2dd9..45e8306a546e927bc643a61532663440493ca81d 100644
|
| --- a/content/public/test/test_renderer_host.cc
|
| +++ b/content/public/test/test_renderer_host.cc
|
| @@ -170,11 +170,12 @@ void RenderViewHostTestHarness::SetUp() {
|
| #if defined(USE_AURA)
|
| // 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);
|
|
|
| aura_test_helper_.reset(
|
| new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
|
| - aura_test_helper_->SetUp();
|
| + aura_test_helper_->SetUp(context_factory);
|
| new wm::DefaultActivationClient(aura_test_helper_->root_window());
|
| #endif
|
|
|
|
|