| Index: ui/aura/root_window_host_ozone.cc
|
| diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc
|
| index dbdd762255931bac99f9557c642764ecf4ee4be1..66cfdd5851679e8ced84a8500499269065314a6c 100644
|
| --- a/ui/aura/root_window_host_ozone.cc
|
| +++ b/ui/aura/root_window_host_ozone.cc
|
| @@ -6,14 +6,14 @@
|
|
|
| #include "ui/aura/root_window.h"
|
| #include "ui/gfx/ozone/surface_factory_ozone.h"
|
| +#include "ui/ozone/ozone_platform.h"
|
|
|
| namespace aura {
|
|
|
| RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds)
|
| - : delegate_(NULL),
|
| - widget_(0),
|
| - bounds_(bounds),
|
| - factory_(ui::EventFactoryOzone::GetInstance()) {
|
| + : delegate_(NULL), widget_(0), bounds_(bounds) {
|
| + ui::OzonePlatform::Initialize();
|
| + factory_.reset(ui::EventFactoryOzone::GetInstance());
|
| factory_->StartProcessingEvents();
|
| gfx::SurfaceFactoryOzone* surface_factory =
|
| gfx::SurfaceFactoryOzone::GetInstance();
|
|
|