Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1457)

Unified Diff: third_party/WebKit/Source/web/WebLeakDetector.cpp

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698