summaryrefslogtreecommitdiffstats
path: root/chrome/worker/webworkerclient_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/worker/webworkerclient_proxy.cc')
-rw-r--r--chrome/worker/webworkerclient_proxy.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/worker/webworkerclient_proxy.cc b/chrome/worker/webworkerclient_proxy.cc
index 6cc3d9b..33bcbc8 100644
--- a/chrome/worker/webworkerclient_proxy.cc
+++ b/chrome/worker/webworkerclient_proxy.cc
@@ -4,9 +4,9 @@
#include "chrome/worker/webworkerclient_proxy.h"
+#include "chrome/common/child_process.h"
#include "chrome/common/ipc_logging.h"
#include "chrome/common/worker_messages.h"
-#include "chrome/worker/worker_process.h"
#include "chrome/worker/worker_thread.h"
#include "webkit/glue/webworker.h"
@@ -17,12 +17,12 @@ WebWorkerClientProxy::WebWorkerClientProxy(const GURL& url, int route_id)
ALLOW_THIS_IN_INITIALIZER_LIST(impl_(WebWorker::Create(this))) {
AddRef();
WorkerThread::current()->AddRoute(route_id_, this);
- WorkerProcess::current()->AddRefProcess();
+ ChildProcess::current()->AddRefProcess();
}
WebWorkerClientProxy::~WebWorkerClientProxy() {
WorkerThread::current()->RemoveRoute(route_id_);
- WorkerProcess::current()->ReleaseProcess();
+ ChildProcess::current()->ReleaseProcess();
}
void WebWorkerClientProxy::PostMessageToWorkerObject(const string16& message) {