diff options
Diffstat (limited to 'chrome/renderer/webworker_proxy.cc')
-rw-r--r-- | chrome/renderer/webworker_proxy.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/renderer/webworker_proxy.cc b/chrome/renderer/webworker_proxy.cc index aa7b7f4..abbb51f 100644 --- a/chrome/renderer/webworker_proxy.cc +++ b/chrome/renderer/webworker_proxy.cc @@ -21,8 +21,10 @@ using WebKit::WebWorkerClient; WebWorkerProxy::WebWorkerProxy( WebWorkerClient* client, ChildThread* child_thread, - int render_view_route_id) - : WebWorkerBase(child_thread, 0, MSG_ROUTING_NONE, render_view_route_id), + int render_view_route_id, + int parent_appcache_host_id) + : WebWorkerBase(child_thread, 0, MSG_ROUTING_NONE, render_view_route_id, + parent_appcache_host_id), client_(client) { // TODO(atwilson): Change to pass in a real document_id when we support nested // workers. @@ -46,8 +48,7 @@ void WebWorkerProxy::startWorkerContext( const WebURL& script_url, const WebString& user_agent, const WebString& source_code) { - CreateWorkerContext(script_url, false, string16(), user_agent, source_code, - MSG_ROUTING_NONE); + CreateDedicatedWorkerContext(script_url, user_agent, source_code); } void WebWorkerProxy::terminateWorkerContext() { |