Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp

Issue 1418503005: [Oilpan] Fix wrong usage of HashSet<WebGLSharedObject*> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b11b5f387a096a7e4301a86da93e8619953586dd..8e7a914c140f6e5d478a81c1fd8870412ac66de0 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
+++ b/third_party/WebKit/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();
+ WillBeHeapHashSet<RawPtrWillBeUntracedMember<WebGLSharedObject>>::iterator it = m_groupObjects.begin();
(*it)->detachContextGroup();
}
}

Powered by Google App Engine
This is Rietveld 408576698