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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.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/modules/csspaint/PaintWorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
index f68c814166efbe2f93ca781bd1f721fde726a2fa..876c6f85d6387a23d737dbab76d95fdedf156d8e 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
@@ -212,7 +212,7 @@ void PaintWorkletGlobalScope::addPendingGenerator(
m_pendingGenerators.add(name, nullptr).storedValue->value;
if (!set)
set = new GeneratorHashSet;
- set->add(generator);
+ set->insert(generator);
}
DEFINE_TRACE(PaintWorkletGlobalScope) {

Powered by Google App Engine
This is Rietveld 408576698