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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp

Issue 2310673002: [worklets] Split up InProcessWorkerMessagingProxy into a base+worker class. (Closed)
Patch Set: address comments. Created 4 years, 3 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/core/workers/InProcessWorkerBase.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
index ac26ea6baaf55d65077d3f6827db816646624071..8af2960e6ebbb71d6a02d685b63f545b8bd3ffc4 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
@@ -30,7 +30,7 @@ InProcessWorkerBase::~InProcessWorkerBase()
DCHECK(isMainThread());
if (!m_contextProxy)
return;
- m_contextProxy->workerObjectDestroyed();
+ m_contextProxy->parentObjectDestroyed();
}
void InProcessWorkerBase::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray& ports, ExceptionState& exceptionState)
@@ -69,7 +69,7 @@ bool InProcessWorkerBase::initialize(ExecutionContext* context, const String& ur
void InProcessWorkerBase::terminate()
{
if (m_contextProxy)
- m_contextProxy->terminateWorkerGlobalScope();
+ m_contextProxy->terminateGlobalScope();
}
void InProcessWorkerBase::stop()

Powered by Google App Engine
This is Rietveld 408576698