| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index 1fa00a882fa35a7e4d9f714a938e1ece4ca5c37e..a4f8cfb4c4be6d2b7c6b5d06da7c32f731845335 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -5006,13 +5006,6 @@ void WebGLRenderingContextBase::loseContextImpl(WebGLRenderingContextBase::LostC
|
| ASSERT(m_contextLostMode != NotLostContext);
|
| m_autoRecoveryMethod = autoRecoveryMethod;
|
|
|
| - if (mode == RealLostContext) {
|
| - // Inform the embedder that a lost context was received. In response, the embedder might
|
| - // decide to take action such as asking the user for permission to use WebGL again.
|
| - if (LocalFrame* frame = canvas()->document().frame())
|
| - frame->loader().client()->didLoseWebGLContext(contextGL()->GetGraphicsResetStatusKHR());
|
| - }
|
| -
|
| // Make absolutely sure we do not refer to an already-deleted texture or framebuffer.
|
| drawingBuffer()->setTexture2DBinding(0);
|
| drawingBuffer()->setFramebufferBinding(GL_FRAMEBUFFER, 0);
|
|
|