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

Unified Diff: ui/gfx/gl/egl_util.cc

Issue 7467007: Adding Wayland support for ui/gfx (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Replaced the way WaylandDisplay is being retrieved Created 9 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/gfx/gl/egl_util.cc
diff --git a/ui/gfx/gl/egl_util.cc b/ui/gfx/gl/egl_util.cc
index 29eb92d14e3488ebc3121b47eb9803ba9813ef99..79e2b818393158a58b6014eef4ac3e79f3fd318c 100644
--- a/ui/gfx/gl/egl_util.cc
+++ b/ui/gfx/gl/egl_util.cc
@@ -4,7 +4,11 @@
#include "ui/gfx/gl/egl_util.h"
+#if defined(USE_WAYLAND)
+#include <EGL/egl.h>
+#else
jonathan.backer 2011/07/26 14:56:27 Could we update the angle headers instead?
#include "third_party/angle/include/EGL/egl.h"
+#endif
#include "ui/gfx/gl/gl_bindings.h"
namespace gfx {

Powered by Google App Engine
This is Rietveld 408576698