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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (Closed)
Patch Set: Created 3 years, 10 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/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 70919b6e80b34d5b6b4b4e266f664817f184e58a..4807cfdc08bd4143c88361a02c0b9018e41ab24f 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -512,7 +512,7 @@ class PLATFORM_EXPORT ThreadState {
DCHECK(!state->sweepForbidden());
DCHECK(!state->m_orderedPreFinalizers.contains(
PreFinalizer(self, T::invokePreFinalizer)));
- state->m_orderedPreFinalizers.add(
+ state->m_orderedPreFinalizers.insert(
PreFinalizer(self, T::invokePreFinalizer));
}
};

Powered by Google App Engine
This is Rietveld 408576698