| 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 31f35a6e33f597ee27d6ba05ce9eaf9f9daef6c0..441d282605e775834dcb244007dea1dba07901c0 100644
|
| --- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| +++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| @@ -27,6 +27,7 @@
|
| #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"
|
| +#include "ui/ozone/public/native_pixmap_client.h"
|
| #include "ui/ozone/public/ozone_platform.h"
|
| #include "ui/ozone/public/ozone_switches.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
| @@ -401,6 +402,15 @@ class OzonePlatformEgltest : public OzonePlatform {
|
| DISALLOW_COPY_AND_ASSIGN(OzonePlatformEgltest);
|
| };
|
|
|
| +class NativePixmapClientEgltest : public NativePixmapClient {
|
| + public:
|
| + NativePixmapClientEgltest() {}
|
| + ~NativePixmapClientEgltest() override {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(NativePixmapClientEgltest);
|
| +};
|
| +
|
| } // namespace
|
|
|
| OzonePlatform* CreateOzonePlatformEgltest() {
|
| @@ -409,4 +419,8 @@ OzonePlatform* CreateOzonePlatformEgltest() {
|
| return platform;
|
| }
|
|
|
| +NativePixmapClient* CreateNativePixmapClientEgltest() {
|
| + return new NativePixmapClientEgltest;
|
| +}
|
| +
|
| } // namespace ui
|
|
|