Index: ui/ozone/ozone_platform.cc |
diff --git a/ui/ozone/ozone_platform.cc b/ui/ozone/ozone_platform.cc |
index 53016cd05edf31327856bab14b9a113f3d9a32a8..3176bdc2ae014c1d59297137c618b959e0424b39 100644 |
--- a/ui/ozone/ozone_platform.cc |
+++ b/ui/ozone/ozone_platform.cc |
@@ -9,6 +9,7 @@ |
#include "ui/ozone/ozone_platform.h" |
#include "ui/ozone/ozone_platform_list.h" |
#include "ui/ozone/ozone_switches.h" |
+#include "ui/ozone/window/window_factory_ozone.h" |
namespace ui { |
@@ -43,6 +44,7 @@ OzonePlatform::~OzonePlatform() { |
gfx::SurfaceFactoryOzone::SetInstance(NULL); |
ui::EventFactoryOzone::SetInstance(NULL); |
ui::CursorFactoryOzone::SetInstance(NULL); |
+ ui::WindowFactoryOzone::SetInstance(NULL); |
} |
// static |
@@ -62,6 +64,7 @@ void OzonePlatform::Initialize() { |
ui::InputMethodContextFactoryOzone::SetInstance( |
instance_->GetInputMethodContextFactoryOzone()); |
ui::CursorFactoryOzone::SetInstance(instance_->GetCursorFactoryOzone()); |
+ ui::WindowFactoryOzone::SetInstance(instance_->GetWindowFactoryOzone()); |
} |
// static |