Index: chrome/worker/websharedworker_stub.cc |
diff --git a/chrome/worker/websharedworker_stub.cc b/chrome/worker/websharedworker_stub.cc |
index 61ffb31404a97f962ba4f96c142811f513191012..8cb167a01df42b3f4614ffdb0881a1ab129bf0b9 100644 |
--- a/chrome/worker/websharedworker_stub.cc |
+++ b/chrome/worker/websharedworker_stub.cc |
@@ -39,6 +39,10 @@ void WebSharedWorkerStub::OnChannelError() { |
OnTerminateWorkerContext(); |
} |
+const GURL& WebSharedWorkerStub::url() const { |
+ return url_; |
+} |
+ |
void WebSharedWorkerStub::OnStartWorkerContext( |
const GURL& url, const string16& user_agent, const string16& source_code) { |
// Ignore multiple attempts to start this worker (can happen if two pages |