Index: Source/web/SharedWorkerRepositoryClientImpl.cpp |
diff --git a/Source/web/SharedWorkerRepositoryClientImpl.cpp b/Source/web/SharedWorkerRepositoryClientImpl.cpp |
index 8bd87ab5bab3344df45e21c6cc2b6fb6835bc7f9..b7b59c401808f2a12666d919015e3bc42d747317 100644 |
--- a/Source/web/SharedWorkerRepositoryClientImpl.cpp |
+++ b/Source/web/SharedWorkerRepositoryClientImpl.cpp |
@@ -55,7 +55,7 @@ namespace blink { |
// Callback class that keeps the SharedWorker and WebSharedWorker objects alive while connecting. |
class SharedWorkerConnector : private WebSharedWorkerConnector::ConnectListener { |
public: |
- SharedWorkerConnector(PassRefPtrWillBeRawPtr<SharedWorker> worker, const KURL& url, const String& name, PassOwnPtr<WebMessagePortChannel> channel, PassOwnPtr<WebSharedWorkerConnector> webWorkerConnector) |
+ SharedWorkerConnector(SharedWorker* worker, const KURL& url, const String& name, PassOwnPtr<WebMessagePortChannel> channel, PassOwnPtr<WebSharedWorkerConnector> webWorkerConnector) |
: m_worker(worker) |
, m_url(url) |
, m_name(name) |
@@ -70,7 +70,7 @@ private: |
void connected() override; |
void scriptLoadFailed() override; |
- RefPtrWillBePersistent<SharedWorker> m_worker; |
+ Persistent<SharedWorker> m_worker; |
KURL m_url; |
String m_name; |
OwnPtr<WebSharedWorkerConnector> m_webWorkerConnector; |
@@ -107,7 +107,7 @@ static WebSharedWorkerRepositoryClient::DocumentID getId(void* document) |
return reinterpret_cast<WebSharedWorkerRepositoryClient::DocumentID>(document); |
} |
-void SharedWorkerRepositoryClientImpl::connect(PassRefPtrWillBeRawPtr<SharedWorker> worker, PassOwnPtr<WebMessagePortChannel> port, const KURL& url, const String& name, ExceptionState& exceptionState) |
+void SharedWorkerRepositoryClientImpl::connect(SharedWorker* worker, PassOwnPtr<WebMessagePortChannel> port, const KURL& url, const String& name, ExceptionState& exceptionState) |
{ |
ASSERT(m_client); |