| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 89959)
|
| +++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy)
|
| @@ -1153,8 +1153,7 @@
|
| // Put result onscreen.
|
| m_layerRenderer->present();
|
|
|
| - GraphicsContext3D* context = m_layerRenderer->context();
|
| - if (context->getExtensions()->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERROR) {
|
| + if (m_layerRenderer->isCompositorContextLost()) {
|
| // Trying to recover the context right here will not work if GPU process
|
| // died. This is because GpuChannelHost::OnErrorMessage will only be
|
| // called at the next iteration of the message loop, reverting our
|
|
|