| Index: ui/aura/demo/demo_main.cc
|
| diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
|
| index f9d8986cfa97148f8c65e8885782099b1c20b223..75b1d6023470b79265b8b201868b1dfa84fbbe3a 100644
|
| --- a/ui/aura/demo/demo_main.cc
|
| +++ b/ui/aura/demo/demo_main.cc
|
| @@ -19,7 +19,7 @@
|
| #include "ui/base/hit_test.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_paths.h"
|
| -#include "ui/compositor/compositor.h"
|
| +#include "ui/compositor/test/context_factories_for_test.h"
|
| #include "ui/events/event.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/rect.h"
|
| @@ -112,7 +112,7 @@ int DemoMain() {
|
|
|
| // The ContextFactory must exist before any Compositors are created.
|
| bool allow_test_contexts = false;
|
| - ui::Compositor::InitializeContextFactoryForTests(allow_test_contexts);
|
| + ui::InitializeContextFactoryForTests(allow_test_contexts);
|
|
|
| aura::Env::CreateInstance();
|
| scoped_ptr<aura::TestScreen> test_screen(aura::TestScreen::Create());
|
|
|