| Index: third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp b/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
|
| index ca4cae67e27d6851c624efca4b400085d2ca3beb..ea23ab90514d39bc18801a120f06dd8c1ae43ebe 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
|
| @@ -74,8 +74,8 @@ void WebGLContextGroup::detachAndRemoveAllObjects() {
|
| void WebGLContextGroup::loseContextGroup(
|
| WebGLRenderingContextBase::LostContextMode mode,
|
| WebGLRenderingContextBase::AutoRecoveryMethod autoRecoveryMethod) {
|
| - // Detach must happen before loseContextImpl, which destroys the GraphicsContext3D
|
| - // and prevents groupObjects from being properly deleted.
|
| + // Detach must happen before loseContextImpl, which destroys the
|
| + // GraphicsContext3D and prevents groupObjects from being properly deleted.
|
| detachAndRemoveAllObjects();
|
|
|
| for (WebGLRenderingContextBase* const context : m_contexts)
|
|
|