Index: third_party/WebKit/Source/core/workers/Worker.cpp |
diff --git a/third_party/WebKit/Source/core/workers/Worker.cpp b/third_party/WebKit/Source/core/workers/Worker.cpp |
index 30f034de567cad2631018313623ef0b48910a590..a407d0944d42f48e45adb4ca8677eed7365c3a5e 100644 |
--- a/third_party/WebKit/Source/core/workers/Worker.cpp |
+++ b/third_party/WebKit/Source/core/workers/Worker.cpp |
@@ -8,8 +8,8 @@ |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/frame/UseCounter.h" |
-#include "core/workers/WorkerGlobalScopeProxy.h" |
-#include "core/workers/WorkerGlobalScopeProxyProvider.h" |
+#include "core/workers/DedicatedWorkerGlobalScopeProxyProvider.h" |
+#include "core/workers/InProcessWorkerGlobalScopeProxy.h" |
namespace blink { |
@@ -43,10 +43,10 @@ const AtomicString& Worker::interfaceName() const |
return EventTargetNames::Worker; |
} |
-WorkerGlobalScopeProxy* Worker::createWorkerGlobalScopeProxy(ExecutionContext* context) |
+InProcessWorkerGlobalScopeProxy* Worker::createInProcessWorkerGlobalScopeProxy(ExecutionContext* context) |
{ |
Document* document = toDocument(context); |
- WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(*document->page()); |
+ DedicatedWorkerGlobalScopeProxyProvider* proxyProvider = DedicatedWorkerGlobalScopeProxyProvider::from(*document->page()); |
ASSERT(proxyProvider); |
return proxyProvider->createWorkerGlobalScopeProxy(this); |
} |