Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc |
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
index ebea5d0a68d0a3f59145dba5da63803cb1815c9f..dc34d737e57c6e1f90f8c3139689870ef2d49389 100644 |
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
@@ -12,6 +12,7 @@ |
#include "ui/events/ozone/device/device_manager.h" |
#include "ui/events/ozone/evdev/event_factory_evdev.h" |
#include "ui/gfx/vsync_provider.h" |
+#include "ui/ozone/common/window/platform_window_compat.h" |
#include "ui/ozone/public/cursor_factory_ozone.h" |
#include "ui/ozone/public/gpu_platform_support.h" |
#include "ui/ozone/public/gpu_platform_support_host.h" |
@@ -260,6 +261,12 @@ class OzonePlatformEgltest : public OzonePlatform { |
virtual GpuPlatformSupportHost* GetGpuPlatformSupportHost() OVERRIDE { |
return gpu_platform_support_host_.get(); |
} |
+ virtual scoped_ptr<PlatformWindow> CreatePlatformWindow( |
+ PlatformWindowDelegate* delegate, |
+ const gfx::Rect& bounds) OVERRIDE { |
+ return make_scoped_ptr<PlatformWindow>( |
+ new PlatformWindowCompat(delegate, bounds)); |
+ } |
#if defined(OS_CHROMEOS) |
virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() |