Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: ui/gl/gl_surface_egl_x11.cc

Issue 2102443003: Break //ui/gl/ dependency on //ui/ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_bindings
Patch Set: GYP again. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698