Index: gpu/blink/webgraphicscontext3d_impl.cc |
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc |
index 64a9f96336a2baef13741b1a0dc6fa5c8f9f6494..d260e942c536192f2c29d1c3aeee56eb208548a8 100644 |
--- a/gpu/blink/webgraphicscontext3d_impl.cc |
+++ b/gpu/blink/webgraphicscontext3d_impl.cc |
@@ -1216,14 +1216,14 @@ void WebGraphicsContext3DImpl::waitSync(WGC3Dsync sync, |
gl_->WaitSync(reinterpret_cast<GLsync>(sync), flags, timeout); |
} |
-bool WebGraphicsContext3DImpl::isContextLost() { |
- return getGraphicsResetStatusARB() != GL_NO_ERROR; |
-} |
- |
blink::WGC3Denum WebGraphicsContext3DImpl::getGraphicsResetStatusARB() { |
return gl_->GetGraphicsResetStatusKHR(); |
} |
+::gpu::gles2::GLES2Interface* WebGraphicsContext3DImpl::getGLES2Interface() { |
+ return gl_; |
+} |
+ |
::gpu::gles2::GLES2ImplementationErrorMessageCallback* |
WebGraphicsContext3DImpl::getErrorMessageCallback() { |
if (!client_error_message_callback_) { |