Index: third_party/WebKit/Source/web/WebLeakDetector.cpp |
diff --git a/third_party/WebKit/Source/web/WebLeakDetector.cpp b/third_party/WebKit/Source/web/WebLeakDetector.cpp |
index f3440dc60c5f75c8af9b2b9371c3ffe421eb2d39..6027caad43296891765fc1c7968cc86840917bb4 100644 |
--- a/third_party/WebKit/Source/web/WebLeakDetector.cpp |
+++ b/third_party/WebKit/Source/web/WebLeakDetector.cpp |
@@ -39,7 +39,7 @@ |
#include "core/fetch/MemoryCache.h" |
#include "core/inspector/InstanceCounters.h" |
#include "core/layout/LayoutObject.h" |
-#include "core/workers/WorkerThread.h" |
+#include "core/workers/WorkerScript.h" |
#include "modules/webaudio/AudioNode.h" |
#include "platform/Timer.h" |
#include "public/web/WebDocument.h" |
@@ -89,7 +89,7 @@ void WebLeakDetectorImpl::prepareForLeakDetection(WebFrame* frame) |
// here. |
V8PerIsolateData::from(isolate)->ensureScriptRegexpContext(); |
- WorkerThread::terminateAndWaitForAllWorkers(); |
+ WorkerScript::terminateAndWaitForAllWorkers(); |
memoryCache()->evictResources(); |
// If the spellchecker is allowed to continue issuing requests while the |