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..b3e670d1e47045c4272e0ec199a9d78561de210d 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp |
@@ -197,7 +197,7 @@ void PaintWorkletGlobalScope::registerPaint(const String& name, |
} |
} |
} |
- m_pendingGenerators.remove(name); |
+ m_pendingGenerators.erase(name); |
} |
CSSPaintDefinition* PaintWorkletGlobalScope::findDefinition( |