Index: ui/ozone/platform/test/ozone_platform_test.cc |
diff --git a/ui/ozone/platform/test/ozone_platform_test.cc b/ui/ozone/platform/test/ozone_platform_test.cc |
index 2473e370c3934ecd32c76b06fd5d0ad881c1dba6..3f42d1f9d78fab411bce617eb198bad5b74bc28e 100644 |
--- a/ui/ozone/platform/test/ozone_platform_test.cc |
+++ b/ui/ozone/platform/test/ozone_platform_test.cc |
@@ -8,6 +8,7 @@ |
#include "base/files/file_path.h" |
#include "ui/events/ozone/device/device_manager.h" |
#include "ui/events/ozone/evdev/event_factory_evdev.h" |
+#include "ui/ozone/common/window/platform_window_compat.h" |
#include "ui/ozone/platform/test/file_surface_factory.h" |
#include "ui/ozone/platform/test/test_cursor_factory.h" |
#include "ui/ozone/public/gpu_platform_support.h" |
@@ -48,6 +49,12 @@ class OzonePlatformTest : 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() |