Index: mojo/gpu/gl_context_owner.cc |
diff --git a/mojo/gpu/gl_context_owner.cc b/mojo/gpu/gl_context_owner.cc |
index 81d7d336d467cdd318a8eb962adf47690c7c8a8f..b90958391e10182fbec99bb355b84d28823cf1bc 100644 |
--- a/mojo/gpu/gl_context_owner.cc |
+++ b/mojo/gpu/gl_context_owner.cc |
@@ -8,9 +8,8 @@ |
namespace mojo { |
-GLContextOwner::GLContextOwner(mojo::Shell* shell) |
- : context_(mojo::GLContext::Create(shell)) { |
-} |
+GLContextOwner::GLContextOwner(ApplicationConnector* connector) |
+ : context_(GLContext::CreateOffscreen(connector)) {} |
GLContextOwner::~GLContextOwner() { |
context_->Destroy(); |