Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: cc/output/delegating_renderer.cc

Issue 51653008: Remove WGC3D::isContextLost references from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698