| 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 1ec1427c8b0b3e5f994f445b3a5c1f113c6e175f..dd0ca30a4e48da2f66b333b8bed98e1d3bf1eee6 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -5041,13 +5041,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);
|
|
|