Index: mojo/gpu/gl_context.cc |
diff --git a/mojo/gpu/gl_context.cc b/mojo/gpu/gl_context.cc |
index eb6acdc0fcdf8087ac5e1142bd58b00018254765..ec7afa5b23392ea73a46724ea6a7687cccfa9a05 100644 |
--- a/mojo/gpu/gl_context.cc |
+++ b/mojo/gpu/gl_context.cc |
@@ -15,7 +15,7 @@ GLContext::Observer::~Observer() {} |
GLContext::GLContext(CommandBufferPtr command_buffer) : weak_factory_(this) { |
context_ = MGLCreateContext( |
MGL_API_VERSION_GLES2, |
- command_buffer.PassInterface().PassHandle().release().value(), |
+ command_buffer.PassInterfaceHandle().PassHandle().release().value(), |
MGL_NO_CONTEXT, &ContextLostThunk, this, |
Environment::GetDefaultAsyncWaiter()); |
DCHECK(context_ != MGL_NO_CONTEXT); |