summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 21:00:55 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 21:00:55 +0000
commit02473008f5f1948494b9fb69e5781746b66f6f80 (patch)
tree0e3682014c915ca2ce26f21012478740e48d6897 /webkit/tools/test_shell/test_webview_delegate.cc
parent83dde5448f2650827fc26a02168c18e6c5825ae8 (diff)
downloadchromium_src-02473008f5f1948494b9fb69e5781746b66f6f80.zip
chromium_src-02473008f5f1948494b9fb69e5781746b66f6f80.tar.gz
chromium_src-02473008f5f1948494b9fb69e5781746b66f6f80.tar.bz2
Replace worker support in test shell with a dummy implementation.
The current implementation doesn't really work so no worker tests are run from test shell. The dummy implementation is only present to allow tests to pass that enumerate objects and their properties generically (without actually using the objects like fast/js/instanceof-operator.html). BUG=18676 TEST=layout tests fast/js/instanceof-operator.html Review URL: http://codereview.chromium.org/193082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 131e7cd..af0d5f8 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -52,7 +52,7 @@
#include "webkit/glue/window_open_disposition.h"
#include "webkit/tools/test_shell/test_navigation_controller.h"
#include "webkit/tools/test_shell/test_shell.h"
-#include "webkit/tools/test_shell/test_webworker_helper.h"
+#include "webkit/tools/test_shell/test_web_worker.h"
#if defined(OS_WIN)
// TODO(port): make these files work everywhere.
@@ -567,7 +567,7 @@ WebPlugin* TestWebViewDelegate::createPlugin(
WebWorker* TestWebViewDelegate::createWorker(
WebFrame* frame, WebWorkerClient* client) {
#if ENABLE(WORKERS)
- return TestWebWorkerHelper::CreateWebWorker(client);
+ return new TestWebWorker();
#else
return NULL;
#endif