| Index: Source/web/SharedWorkerRepositoryClientImpl.cpp
|
| diff --git a/Source/web/SharedWorkerRepositoryClientImpl.cpp b/Source/web/SharedWorkerRepositoryClientImpl.cpp
|
| index 2ffe3b27dbc42046e39aad6241d752479ed1436a..98b39057eb95a5c4f8b66d17373f4334236008dd 100644
|
| --- a/Source/web/SharedWorkerRepositoryClientImpl.cpp
|
| +++ b/Source/web/SharedWorkerRepositoryClientImpl.cpp
|
| @@ -155,7 +155,7 @@ static WebSharedWorkerRepositoryClient::DocumentID getId(void* document)
|
| return reinterpret_cast<WebSharedWorkerRepositoryClient::DocumentID>(document);
|
| }
|
|
|
| -void SharedWorkerRepositoryClientImpl::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionState& es)
|
| +void SharedWorkerRepositoryClientImpl::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionState& exceptionState)
|
| {
|
| ASSERT(m_client);
|
|
|
| @@ -165,7 +165,7 @@ void SharedWorkerRepositoryClientImpl::connect(PassRefPtr<SharedWorker> worker,
|
| OwnPtr<WebSharedWorker> webWorker = adoptPtr(m_client->createSharedWorker(url, name, getId(document)));
|
| if (!webWorker) {
|
| // Existing worker does not match this url, so return an error back to the caller.
|
| - es.throwDOMException(URLMismatchError, ExceptionMessages::failedToConstruct("SharedWorker", "The location of the SharedWorker named '" + name + "' does not exactly match the provided URL ('" + url.elidedString() + "')."));
|
| + exceptionState.throwDOMException(URLMismatchError, ExceptionMessages::failedToConstruct("SharedWorker", "The location of the SharedWorker named '" + name + "' does not exactly match the provided URL ('" + url.elidedString() + "')."));
|
| return;
|
| }
|
|
|
|
|