| Index: ui/gl/gl_surface_egl_x11.cc
|
| diff --git a/ui/gl/gl_surface_egl_x11.cc b/ui/gl/gl_surface_egl_x11.cc
|
| index 3dcaf70a8681c1010891d90752c4a1c61894a013..5fd04f3650ae98c822b51ddba26738818b652a64 100644
|
| --- a/ui/gl/gl_surface_egl_x11.cc
|
| +++ b/ui/gl/gl_surface_egl_x11.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ui/gl/gl_surface_egl_x11.h"
|
|
|
| #include "ui/events/platform/platform_event_source.h"
|
| +#include "ui/gfx/x/x11_types.h"
|
| #include "ui/gl/egl_util.h"
|
|
|
| extern "C" {
|
| @@ -177,4 +178,8 @@ NativeViewGLSurfaceEGLX11::~NativeViewGLSurfaceEGLX11() {
|
| Destroy();
|
| }
|
|
|
| +EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
|
| + return gfx::GetXDisplay();
|
| +}
|
| +
|
| } // namespace gl
|
|
|