| 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 9f47410b2adcb6711dd95f61bccec20531cda33f..e8b53dbc12661dec5cd34064fa434c41dba2baa9 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| @@ -47,6 +47,8 @@ PaintWorkletGlobalScope::PaintWorkletGlobalScope(
|
| PaintWorkletGlobalScope::~PaintWorkletGlobalScope() {}
|
|
|
| void PaintWorkletGlobalScope::dispose() {
|
| + MainThreadDebugger::instance()->contextWillBeDestroyed(
|
| + scriptController()->getScriptState());
|
| // Explicitly clear the paint defininitions to break a reference cycle
|
| // between them and this global scope.
|
| m_paintDefinitions.clear();
|
|
|