| Index: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| index e8a8543bb382f5a40c2c4c28808cbb055c7739f9..58f714011750b829b013cd65d66c7902b4501164 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| @@ -40,6 +40,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/events/BeforeUnloadEvent.h"
|
| #include "core/events/Event.h"
|
| +#include "core/probe/CoreProbes.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "platform/InstanceCounters.h"
|
| #include "platform/bindings/V8PrivateProperty.h"
|
| @@ -218,6 +219,7 @@ void V8AbstractEventListener::ClearListenerObject() {
|
| if (!HasExistingListenerObject())
|
| return;
|
| listener_.Clear();
|
| + probe::AsyncTaskCanceled(CurrentExecutionContext(isolate_), this);
|
| if (worker_global_scope_) {
|
| worker_global_scope_->DeregisterEventListener(this);
|
| } else {
|
|
|