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

Unified Diff: ui/gl/gl_bindings.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_bindings.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings.cc
diff --git a/ui/gl/gl_bindings.cc b/ui/gl/gl_bindings.cc
index 2bc3c0aadb726162c308ab93a307fa830fc6071b..9e7bcfea0d63a2e3cf637e511c522fd8776545d2 100644
--- a/ui/gl/gl_bindings.cc
+++ b/ui/gl/gl_bindings.cc
@@ -40,7 +40,7 @@ std::string DriverWGL::GetPlatformExtensions() {
#if defined(USE_EGL)
std::string DriverEGL::GetPlatformExtensions() {
- EGLDisplay display = GLSurfaceEGL::InitializeDisplay();
+ EGLDisplay display = GLSurfaceEGL::GetHardwareDisplay();
if (display == EGL_NO_DISPLAY)
return "";
const char* str = eglQueryString(display, EGL_EXTENSIONS);
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698