Index: cc/output/delegating_renderer.cc |
diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc |
index 9195e80278d1b0e3684498591a29ec40c9ee6257..51405326f5156f33662a49fe84e284542799ea7c 100644 |
--- a/cc/output/delegating_renderer.cc |
+++ b/cc/output/delegating_renderer.cc |
@@ -149,8 +149,7 @@ bool DelegatingRenderer::IsContextLost() { |
ContextProvider* context_provider = output_surface_->context_provider(); |
if (!context_provider) |
return false; |
- return context_provider->Context3d()->getGraphicsResetStatusARB() != |
- GL_NO_ERROR; |
+ return context_provider->IsContextLost(); |
} |
void DelegatingRenderer::SetVisible(bool visible) { |