Index: ui/ozone/platform/dri/ozone_platform_dri.cc |
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.cc b/ui/ozone/platform/dri/ozone_platform_dri.cc |
index ce5587b1d841db9ec5ece7c407c017fa0bdcc31a..a9a5ae622cf916605d040086b84e7d716c7ea8fe 100644 |
--- a/ui/ozone/platform/dri/ozone_platform_dri.cc |
+++ b/ui/ozone/platform/dri/ozone_platform_dri.cc |
@@ -11,7 +11,8 @@ namespace ui { |
OzonePlatformDri::OzonePlatformDri() |
: cursor_factory_ozone_(&surface_factory_ozone_), |
- event_factory_ozone_(&cursor_factory_ozone_) {} |
+ event_factory_ozone_(&cursor_factory_ozone_), |
+ window_factory_ozone_(&surface_factory_ozone_) {} |
OzonePlatformDri::~OzonePlatformDri() {} |
@@ -32,6 +33,10 @@ ui::CursorFactoryOzone* OzonePlatformDri::GetCursorFactoryOzone() { |
return &cursor_factory_ozone_; |
} |
+ui::WindowFactoryOzone* OzonePlatformDri::GetWindowFactoryOzone() { |
+ return &window_factory_ozone_; |
+} |
+ |
OzonePlatform* CreateOzonePlatformDri() { return new OzonePlatformDri; } |
} // namespace ui |