| Index: ui/aura/desktop.cc
|
| diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
|
| index 6e6a07d794060b3192a62dd7a6637a933688b92b..d9a846ec7b9643a504d73647c04c7cab25d5fe2a 100644
|
| --- a/ui/aura/desktop.cc
|
| +++ b/ui/aura/desktop.cc
|
| @@ -25,17 +25,14 @@ namespace aura {
|
| // static
|
| Desktop* Desktop::instance_ = NULL;
|
|
|
| -// static
|
| -ui::Compositor*(*Desktop::compositor_factory_)() = NULL;
|
| -
|
| Desktop::Desktop()
|
| : delegate_(NULL),
|
| host_(aura::DesktopHost::Create(gfx::Rect(200, 200, 1280, 1024))),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(schedule_paint_factory_(this)),
|
| active_window_(NULL),
|
| in_destructor_(false) {
|
| - if (compositor_factory_) {
|
| - compositor_ = (*Desktop::compositor_factory())();
|
| + if (ui::Compositor::compositor_factory()) {
|
| + compositor_ = (*ui::Compositor::compositor_factory())(this);
|
| } else {
|
| compositor_ = ui::Compositor::Create(this, host_->GetAcceleratedWidget(),
|
| host_->GetSize());
|
|
|