Index: Source/web/WebLeakDetector.cpp |
diff --git a/Source/web/WebLeakDetector.cpp b/Source/web/WebLeakDetector.cpp |
index 3cd2d162d7ca933948fef8d5b2e27c0007a82dea..21323e4c42451fe8ba111b0d6d9fb9145aac96bc 100644 |
--- a/Source/web/WebLeakDetector.cpp |
+++ b/Source/web/WebLeakDetector.cpp |
@@ -41,6 +41,7 @@ |
#include "platform/Timer.h" |
#include "public/web/WebDocument.h" |
#include "public/web/WebLocalFrame.h" |
+#include "web/WebEmbeddedWorkerImpl.h" |
#include <v8.h> |
@@ -82,6 +83,7 @@ private: |
void WebLeakDetectorImpl::collectGarbageAndGetDOMCounts(WebLocalFrame* frame) |
{ |
+ WebEmbeddedWorkerImpl::terminateAll(); |
memoryCache()->evictResources(); |
{ |