Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
index e8101a336b3389eab840976c97055aed9ce970a2..d99dfb18f783f68671c33971ec8ea7dff92a5402 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
@@ -181,8 +181,8 @@ void WebSharedWorkerImpl::didFinishDocumentLoad(WebLocalFrame* frame) |
m_url, |
DenyCrossOriginRequests, |
m_creationAddressSpace, |
- bind(&WebSharedWorkerImpl::didReceiveScriptLoaderResponse, this), |
- bind(&WebSharedWorkerImpl::onScriptLoaderFinished, this)); |
+ bind(&WebSharedWorkerImpl::didReceiveScriptLoaderResponse, WTF::unretained(this)), |
+ bind(&WebSharedWorkerImpl::onScriptLoaderFinished, WTF::unretained(this))); |
// Do nothing here since onScriptLoaderFinished() might have been already |
// invoked and |this| might have been deleted at this point. |
} |