Index: ui/gl/gl_surface_x11.cc |
diff --git a/ui/gl/gl_surface_x11.cc b/ui/gl/gl_surface_x11.cc |
index 1c75fa8366a9028947162ec641d598994b74db16..066f915864e5f14f48d31cebe772bb70c7ed9057 100644 |
--- a/ui/gl/gl_surface_x11.cc |
+++ b/ui/gl/gl_surface_x11.cc |
@@ -340,4 +340,8 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface( |
} |
} |
+EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { |
+ return base::MessagePumpForUI::GetDefaultXDisplay(); |
+} |
+ |
} // namespace gfx |