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

Unified Diff: third_party/WebKit/Source/platform/MemoryCoordinator.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/MemoryCoordinator.cpp
diff --git a/third_party/WebKit/Source/platform/MemoryCoordinator.cpp b/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
index c116f3e79bcb5eebfd55bae27fbebf592d2f3a2b..4882b3dd951097be28d0beb69b1f97c0d758e8ba 100644
--- a/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
+++ b/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
@@ -45,7 +45,7 @@ void MemoryCoordinator::registerClient(MemoryCoordinatorClient* client) {
DCHECK(isMainThread());
DCHECK(client);
DCHECK(!m_clients.contains(client));
- m_clients.add(client);
+ m_clients.insert(client);
}
void MemoryCoordinator::unregisterClient(MemoryCoordinatorClient* client) {
« no previous file with comments | « third_party/WebKit/Source/platform/LifecycleNotifier.h ('k') | third_party/WebKit/Source/platform/fonts/FontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698