| Index: Source/core/html/canvas/WebGLContextGroup.cpp
|
| diff --git a/Source/core/html/canvas/WebGLContextGroup.cpp b/Source/core/html/canvas/WebGLContextGroup.cpp
|
| index e6e7f0255d6ace15e0e25c2fb3c69aab913d4099..35159773e8d44dc166112e46b319c6652baa61e0 100644
|
| --- a/Source/core/html/canvas/WebGLContextGroup.cpp
|
| +++ b/Source/core/html/canvas/WebGLContextGroup.cpp
|
| @@ -91,8 +91,8 @@ void WebGLContextGroup::loseContextGroup(WebGLRenderingContextBase::LostContextM
|
| // and prevents groupObjects from being properly deleted.
|
| detachAndRemoveAllObjects();
|
|
|
| - for (HashSet<WebGLRenderingContextBase*>::iterator it = m_contexts.begin(); it != m_contexts.end(); ++it)
|
| - (*it)->loseContextImpl(mode, autoRecoveryMethod);
|
| + for (WebGLRenderingContextBase* const context : m_contexts)
|
| + context->loseContextImpl(mode, autoRecoveryMethod);
|
| }
|
|
|
| } // namespace blink
|
|
|