| Index: Source/web/WebLeakDetector.cpp
|
| diff --git a/Source/web/WebLeakDetector.cpp b/Source/web/WebLeakDetector.cpp
|
| index 513423ae9bf60e51bffe45418b72dd05b266b220..7baa23b21b2927e662525594849e439ce5a49eab 100644
|
| --- a/Source/web/WebLeakDetector.cpp
|
| +++ b/Source/web/WebLeakDetector.cpp
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "public/web/WebLeakDetector.h"
|
|
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8GCController.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| @@ -134,6 +135,7 @@ void WebLeakDetectorImpl::delayedReport(Timer<WebLeakDetectorImpl>*)
|
| result.numberOfLiveRenderObjects = result.numberOfLiveLayoutObjects;
|
| result.numberOfLiveResources = Resource::instanceCount();
|
| result.numberOfLiveActiveDOMObjects = ActiveDOMObject::instanceCount();
|
| + result.numberOfLiveScriptPromises = ScriptPromise::instanceCount();
|
|
|
| m_client->onLeakDetectionComplete(result);
|
|
|
|
|