Index: ui/gfx/gl/gl_context_glx.h |
diff --git a/ui/gfx/gl/gl_context_glx.h b/ui/gfx/gl/gl_context_glx.h |
index 7479eeec54cc1f2a65a85eda1a128c8a93886a7d..83bcd5ab1cb59459ea6dc01ba4ed440ae640dcaf 100644 |
--- a/ui/gfx/gl/gl_context_glx.h |
+++ b/ui/gfx/gl/gl_context_glx.h |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#ifndef UI_GFX_GL_GL_CONTEXT_GLX_H_ |
+#define UI_GFX_GL_GL_CONTEXT_GLX_H_ |
#include <string> |
#include "base/compiler_specific.h" |
@@ -26,6 +28,7 @@ class GLContextGLX : public GLContext { |
virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE; |
virtual bool IsCurrent(GLSurface* surface) OVERRIDE; |
virtual void* GetHandle() OVERRIDE; |
+ virtual Display* GetDisplay() OVERRIDE; |
virtual void SetSwapInterval(int interval) OVERRIDE; |
virtual std::string GetExtensions() OVERRIDE; |
virtual bool WasAllocatedUsingARBRobustness() OVERRIDE; |
@@ -38,3 +41,5 @@ class GLContextGLX : public GLContext { |
}; |
} // namespace gfx |
+ |
+#endif //UI_GFX_GL_GL_CONTEXT_GLX_H_ |