| Index: Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
|
| index df9c5ad7a277300a7f7f05c02dc52ec6e6a82c76..06f40e72bd502bafeb6d662738d9d8601b679382 100644
|
| --- a/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -185,8 +185,7 @@ WebSharedWorkerImpl::~WebSharedWorkerImpl()
|
| m_loaderProxy->detachProvider(this);
|
| }
|
|
|
| -// TODO(toyoshim): Rename to terminateWorkerThread().
|
| -void WebSharedWorkerImpl::stopWorkerThread()
|
| +void WebSharedWorkerImpl::terminateWorkerThread()
|
| {
|
| if (m_askedToTerminate)
|
| return;
|
| @@ -328,7 +327,7 @@ void WebSharedWorkerImpl::workerGlobalScopeClosedOnMainThread()
|
| if (client())
|
| client()->workerContextClosed();
|
|
|
| - stopWorkerThread();
|
| + terminateWorkerThread();
|
| }
|
|
|
| void WebSharedWorkerImpl::workerGlobalScopeStarted(WorkerGlobalScope*)
|
| @@ -434,7 +433,7 @@ void WebSharedWorkerImpl::onScriptLoaderFinished()
|
|
|
| void WebSharedWorkerImpl::terminateWorkerContext()
|
| {
|
| - stopWorkerThread();
|
| + terminateWorkerThread();
|
| }
|
|
|
| void WebSharedWorkerImpl::clientDestroyed()
|
|
|