| Index: content/browser/renderer_host/render_widget_host_view_android.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| index 65ed654f0342d396762742fb6e6c2c96cb3bd857..3f15cf30caf49c5f5e1d6f5b273509d4c2d5bd98 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -128,7 +128,11 @@ class GLHelperHolder
|
| void onContextLost() override;
|
|
|
| GLHelper* GetGLHelper() { return gl_helper_.get(); }
|
| - bool IsLost() { return !context_.get() || context_->isContextLost(); }
|
| + bool IsLost() {
|
| + return !context_ ||
|
| + context_->GetGLInterface()->GetGraphicsResetStatusKHR() !=
|
| + GL_NO_ERROR;
|
| + }
|
|
|
| private:
|
| GLHelperHolder();
|
|
|