| 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 47af02e8f6ab10774ef5e36b9643b44ad010c261..a58d787e59cc4fd8faa7865bbcce6f49214e3e42 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| @@ -209,7 +209,7 @@ void PaintWorkletGlobalScope::addPendingGenerator(
|
| const String& name,
|
| CSSPaintImageGeneratorImpl* generator) {
|
| Member<GeneratorHashSet>& set =
|
| - m_pendingGenerators.add(name, nullptr).storedValue->value;
|
| + m_pendingGenerators.insert(name, nullptr).storedValue->value;
|
| if (!set)
|
| set = new GeneratorHashSet;
|
| set->insert(generator);
|
|
|