summaryrefslogtreecommitdiffstats
path: root/chrome/worker/worker_webkitclient_impl.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 02:13:41 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 02:13:41 +0000
commit5f3f56de244046b0222ef25510809b79a36135d9 (patch)
tree8cbd74310eaecae79efd20af5e8d60a062ce78e3 /chrome/worker/worker_webkitclient_impl.cc
parentf72f38623b7a32e7ba8c92f4a6d98d05fc51c311 (diff)
downloadchromium_src-5f3f56de244046b0222ef25510809b79a36135d9.zip
chromium_src-5f3f56de244046b0222ef25510809b79a36135d9.tar.gz
chromium_src-5f3f56de244046b0222ef25510809b79a36135d9.tar.bz2
Move createWorker from WebKitClient to WebWorkerClient per your suggestion, to avoid using WebKitClient outside the main thread.
Review URL: http://codereview.chromium.org/115103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/worker_webkitclient_impl.cc')
-rw-r--r--chrome/worker/worker_webkitclient_impl.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/worker/worker_webkitclient_impl.cc b/chrome/worker/worker_webkitclient_impl.cc
index 21d715ab..1861b64 100644
--- a/chrome/worker/worker_webkitclient_impl.cc
+++ b/chrome/worker/worker_webkitclient_impl.cc
@@ -5,7 +5,6 @@
#include "chrome/worker/worker_webkitclient_impl.h"
#include "base/logging.h"
-#include "chrome/renderer/webworker_proxy.h"
#include "chrome/worker/worker_thread.h"
#include "webkit/api/public/WebString.h"
#include "webkit/api/public/WebURL.h"
@@ -57,8 +56,3 @@ WebKit::WebString WorkerWebKitClientImpl::defaultLocale() {
NOTREACHED();
return WebKit::WebString();
}
-
-WebKit::WebWorker* WorkerWebKitClientImpl::createWorker(
- WebKit::WebWorkerClient* client) {
- return new WebWorkerProxy(client, WorkerThread::current(), 0);
-}