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 8d256970ccd0c33ae0add44a27bc588fdeabc2b7..7694a0587d5b75c96a68a60d7e9d7374211f1f9c 100644 |
--- a/ui/aura/root_window_host_ozone.cc |
+++ b/ui/aura/root_window_host_ozone.cc |
@@ -6,6 +6,7 @@ |
#include "ui/aura/root_window.h" |
#include "ui/gfx/ozone/surface_factory_ozone.h" |
+#include "ui/ozone/ozone_platform.h" |
namespace aura { |
@@ -14,6 +15,7 @@ RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds) |
widget_(0), |
bounds_(bounds), |
factory_(ui::EventFactoryOzone::GetInstance()) { |
kalyank
2013/10/30 23:21:15
We try to retrieve eventfactory instance before oz
spang
2013/10/31 00:38:24
Fixed. Was hitting a fallback that we should remov
|
+ ui::OzonePlatform::Initialize(); |
factory_->CreateStartupEventConverters(); |
gfx::SurfaceFactoryOzone* surface_factory = |
gfx::SurfaceFactoryOzone::GetInstance(); |