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 5fd04f3650ae98c822b51ddba26738818b652a64..3dcaf70a8681c1010891d90752c4a1c61894a013 100644 |
--- a/ui/gl/gl_surface_egl_x11.cc |
+++ b/ui/gl/gl_surface_egl_x11.cc |
@@ -5,7 +5,6 @@ |
#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" { |
@@ -178,8 +177,4 @@ NativeViewGLSurfaceEGLX11::~NativeViewGLSurfaceEGLX11() { |
Destroy(); |
} |
-EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { |
- return gfx::GetXDisplay(); |
-} |
- |
} // namespace gl |