| Index: ui/snapshot/snapshot_aura_unittest.cc
|
| diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
|
| index eee20b3b149e41bffb80ae3429a4e49fb8918b75..f8a2a94f2cf479d1b9406f544f9951a49e95f4b0 100644
|
| --- a/ui/snapshot/snapshot_aura_unittest.cc
|
| +++ b/ui/snapshot/snapshot_aura_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ui/aura/test/test_windows.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_event_dispatcher.h"
|
| +#include "ui/compositor/compositor.h"
|
| #include "ui/compositor/layer.h"
|
| #include "ui/compositor/test/context_factories_for_test.h"
|
| #include "ui/compositor/test/draw_waiter_for_test.h"
|
| @@ -89,11 +90,12 @@ class SnapshotAuraTest : public testing::Test {
|
| // The ContextFactory must exist before any Compositors are created.
|
| // Snapshot test tests real drawing and readback, so needs pixel output.
|
| bool enable_pixel_output = true;
|
| - ui::InitializeContextFactoryForTests(enable_pixel_output);
|
| + ui::ContextFactory* context_factory =
|
| + ui::InitializeContextFactoryForTests(enable_pixel_output);
|
|
|
| helper_.reset(
|
| new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
|
| - helper_->SetUp();
|
| + helper_->SetUp(context_factory);
|
| new ::wm::DefaultActivationClient(helper_->root_window());
|
| }
|
|
|
|
|