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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.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/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index c2383a70bdd6758ffb780950bf2d3443364c7524..c7afad055e63bd0aca4ddd7bc98a2f1af4da1e3b 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -38,7 +38,7 @@
#include "core/events/MessageEvent.h"
#include "core/inspector/ConsoleMessage.h"
#include "core/workers/WorkerGlobalScope.h"
-#include "core/workers/WorkerThread.h"
+#include "core/workers/WorkerScript.h"
#include "modules/background_sync/SyncEvent.h"
#include "modules/fetch/Headers.h"
#include "modules/geofencing/CircularGeofencingRegion.h"
@@ -249,12 +249,12 @@ void ServiceWorkerGlobalScopeProxy::workerGlobalScopeClosed()
void ServiceWorkerGlobalScopeProxy::willDestroyWorkerGlobalScope()
{
- v8::HandleScope handleScope(workerGlobalScope()->thread()->isolate());
+ v8::HandleScope handleScope(workerGlobalScope()->workerScript()->isolate());
client().willDestroyWorkerContext(workerGlobalScope()->scriptController()->context());
m_workerGlobalScope = nullptr;
}
-void ServiceWorkerGlobalScopeProxy::workerThreadTerminated()
+void ServiceWorkerGlobalScopeProxy::workerScriptTerminated()
{
client().workerContextDestroyed();
}

Powered by Google App Engine
This is Rietveld 408576698