Index: chrome/renderer/render_view.cc |
=================================================================== |
--- chrome/renderer/render_view.cc (revision 10842) |
+++ chrome/renderer/render_view.cc (working copy) |
@@ -36,6 +36,7 @@ |
#include "chrome/renderer/visitedlink_slave.h" |
#include "chrome/renderer/webmediaplayer_delegate_impl.h" |
#include "chrome/renderer/webplugin_delegate_proxy.h" |
+#include "chrome/renderer/webworker_proxy.h" |
#include "grit/generated_resources.h" |
#include "grit/renderer_resources.h" |
#include "net/base/escape.h" |
@@ -1973,6 +1974,16 @@ |
#endif |
} |
+WebWorker* RenderView::CreateWebWorker(WebWorkerClient* client) { |
+#if defined(OS_WIN) |
+ return new WebWorkerProxy(this, client); |
+#else |
+ // TODO(port): out of process workers |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+#endif |
+} |
+ |
void RenderView::OpenURL(WebView* webview, const GURL& url, |
const GURL& referrer, |
WindowOpenDisposition disposition) { |