| Index: ui/aura/demo/demo_main.cc
|
| diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
|
| index 007d5af1c5dc363e0d8d784c157f769767aaeefe..95f99a23ff9b7da6b6ffc054280597dd9b0aa954 100644
|
| --- a/ui/aura/demo/demo_main.cc
|
| +++ b/ui/aura/demo/demo_main.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/power_monitor/power_monitor_device_source.h"
|
| #include "base/run_loop.h"
|
| #include "build/build_config.h"
|
| +#include "cc/surfaces/surface_manager.h"
|
| #include "third_party/skia/include/core/SkXfermode.h"
|
| #include "ui/aura/client/default_capture_client.h"
|
| #include "ui/aura/client/window_tree_client.h"
|
| @@ -139,8 +140,10 @@ int DemoMain() {
|
|
|
| // The ContextFactory must exist before any Compositors are created.
|
| bool context_factory_for_test = false;
|
| + cc::SurfaceManager surface_manager;
|
| std::unique_ptr<ui::InProcessContextFactory> context_factory(
|
| - new ui::InProcessContextFactory(context_factory_for_test, nullptr));
|
| + new ui::InProcessContextFactory(context_factory_for_test,
|
| + &surface_manager));
|
| context_factory->set_use_test_surface(false);
|
|
|
| // Create the message-loop here before creating the root window.
|
|
|