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() |