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

Unified Diff: Source/WebKit/chromium/src/WebWorkerClientImpl.cpp

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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: Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebWorkerClientImpl.cpp b/Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
index fe540acac58c5323c1c3d03c709cc132627820c6..5264722c7f6338fd00e716898e43e00dfaf83481 100644
--- a/Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
+++ b/Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
@@ -47,7 +47,7 @@
#include "core/page/PageGroup.h"
#include "core/workers/DedicatedWorkerThread.h"
#include "core/workers/Worker.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
#include "core/workers/WorkerMessagingProxy.h"
#include <wtf/Threading.h>
@@ -69,7 +69,7 @@ namespace WebKit {
// Chromium-specific decorator of WorkerMessagingProxy.
// static
-WorkerContextProxy* WebWorkerClientImpl::createWorkerContextProxy(Worker* worker)
+WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker* worker)
{
if (worker->scriptExecutionContext()->isDocument()) {
Document* document = static_cast<Document*>(worker->scriptExecutionContext());
@@ -81,10 +81,10 @@ WorkerContextProxy* WebWorkerClientImpl::createWorkerContextProxy(Worker* worker
return 0;
}
-void WebWorkerClientImpl::terminateWorkerContext()
+void WebWorkerClientImpl::terminateWorkerGlobalScope()
{
m_webFrame = 0;
- WebCore::WorkerMessagingProxy::terminateWorkerContext();
+ WebCore::WorkerMessagingProxy::terminateWorkerGlobalScope();
}
WebWorkerBase* WebWorkerClientImpl::toWebWorkerBase()
« no previous file with comments | « Source/WebKit/chromium/src/WebWorkerClientImpl.h ('k') | Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698