Index: chrome/worker/websharedworker_stub.cc |
diff --git a/chrome/worker/websharedworker_stub.cc b/chrome/worker/websharedworker_stub.cc |
index 3ddef8dce869654d184cbb2144c2e0143163f11b..61ffb31404a97f962ba4f96c142811f513191012 100644 |
--- a/chrome/worker/websharedworker_stub.cc |
+++ b/chrome/worker/websharedworker_stub.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/worker/websharedworker_stub.h" |
+#include "chrome/common/child_thread.h" |
+#include "chrome/common/file_system/file_system_dispatcher.h" |
#include "chrome/common/webmessageportchannel_impl.h" |
#include "chrome/common/worker_messages.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebSharedWorker.h" |
@@ -46,6 +48,7 @@ void WebSharedWorkerStub::OnStartWorkerContext( |
impl_->startWorkerContext(url, name_, user_agent, source_code, 0); |
started_ = true; |
+ url_ = url; |
// Process any pending connections. |
for (PendingConnectInfoList::const_iterator iter = pending_connects_.begin(); |