Chromium Code Reviews| 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..90885485a6799b92f2377287237e2d45f3cd17c3 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(mojo::ApplicationConnector* connector) |
|
vtl
2015/12/17 22:30:35
Ditto (here and below).
jeffbrown
2015/12/17 22:33:23
Done.
|
| + : context_(mojo::GLContext::CreateOffscreen(connector)) {} |
| GLContextOwner::~GLContextOwner() { |
| context_->Destroy(); |