Index: Source/modules/webgl/WebGLContextGroup.cpp |
diff --git a/Source/modules/webgl/WebGLContextGroup.cpp b/Source/modules/webgl/WebGLContextGroup.cpp |
index b11b5f387a096a7e4301a86da93e8619953586dd..df3b11d5861f2dcba8baebe3e70b86bfe86dbb4d 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<Member<WebGLSharedObject>>::iterator it = m_groupObjects.begin(); |
(*it)->detachContextGroup(); |
} |
} |