Index: ui/gl/gl_context.h |
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h |
index 6d1420ded49568fce9cbce517ffd9bfd7a26bf5a..368b0ec91c01f87b2657d8167707d603c74956c6 100644 |
--- a/ui/gl/gl_context.h |
+++ b/ui/gl/gl_context.h |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/synchronization/cancellation_flag.h" |
+#include "ui/gl/gl_export.h" |
#include "ui/gl/gl_share_group.h" |
#include "ui/gl/gl_state_restorer.h" |
#include "ui/gl/gpu_preference.h" |
@@ -102,6 +103,7 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> { |
// Create a GL context that is compatible with the given surface. |
// |share_group|, if non-NULL, is a group of contexts which the |
// internally created OpenGL context shares textures and other resources. |
+ // DEPRECATED(kylechar): Use gl::init::CreateGLContext from gl_factory.h. |
static scoped_refptr<GLContext> CreateGLContext( |
GLShareGroup* share_group, |
GLSurface* compatible_surface, |