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

Unified Diff: ui/gl/gl_surface_egl_x11.cc

Issue 2136553002: Remove GetPlatformDefaultEGLNativeDisplay() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to original. 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
« no previous file with comments | « ui/gl/gl_surface_egl_win.cc ('k') | ui/gl/init/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/gl/gl_surface_egl_win.cc ('k') | ui/gl/init/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698