Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 7708bc129c7aec036cc6186e7ab3d128beec0a79..c8618f4c16d405d36964eee2e85b325c2b1702a3 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -4103,6 +4103,12 @@ void GLES2Implementation::GetVertexAttribIuiv( |
CheckGLError(); |
} |
+GLboolean GLES2Implementation::IsContextLost() { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glIsContextLost()"); |
+ return helper_->IsContextLost(); |
+} |
+ |
void GLES2Implementation::Swap() { |
SwapBuffers(); |
} |