Index: Source/modules/webgl/WebGLContextGroup.cpp |
diff --git a/Source/modules/webgl/WebGLContextGroup.cpp b/Source/modules/webgl/WebGLContextGroup.cpp |
index b11b5f387a096a7e4301a86da93e8619953586dd..e56ba4f75b9d0f74c15888df278458e90c415bda 100644 |
--- a/Source/modules/webgl/WebGLContextGroup.cpp |
+++ b/Source/modules/webgl/WebGLContextGroup.cpp |
@@ -80,7 +80,7 @@ void WebGLContextGroup::addObject(WebGLSharedObject* object) |
void WebGLContextGroup::detachAndRemoveAllObjects() |
{ |
while (!m_groupObjects.isEmpty()) { |
- HashSet<WebGLSharedObject*>::iterator it = m_groupObjects.begin(); |
+ PersistentHeapHashSet<WeakMember<WebGLSharedObject>>::iterator it = m_groupObjects.begin(); |
(*it)->detachContextGroup(); |
} |
} |