| Index: mojo/ui/gl_view.cc
|
| diff --git a/mojo/ui/gl_view.cc b/mojo/ui/gl_view.cc
|
| index 4ab635d1d8d7168d42b0b7000221d3b44c2a21eb..e3c80f57dc0cce1009f0b381568758aed9ef8c48 100644
|
| --- a/mojo/ui/gl_view.cc
|
| +++ b/mojo/ui/gl_view.cc
|
| @@ -5,6 +5,7 @@
|
| #include "mojo/ui/gl_view.h"
|
|
|
| #include "base/logging.h"
|
| +#include "mojo/public/cpp/application/connect.h"
|
|
|
| namespace mojo {
|
| namespace ui {
|
| @@ -15,7 +16,7 @@ GLView::GLView(mojo::ApplicationImpl* app_impl,
|
| : BaseView(app_impl, view_owner_request.Pass(), label),
|
| gl_renderer_(mojo::GLContext::CreateOffscreen(
|
| ApplicationConnectorPtr::Create(
|
| - app_impl->CreateApplicationConnector())
|
| + mojo::CreateApplicationConnector(app_impl->shell()))
|
| .get())) {}
|
|
|
| GLView::~GLView() {}
|
|
|