Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index e995bff4c9397bb2e4d61cb687c5fdd1cd0f3a63..3cf2fe172c05be0e8a117e52b7977bf6bfbc530a 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -338,7 +338,7 @@ void WebEmbeddedWorkerImpl::didFinishDocumentLoad(WebLocalFrame* frame) |
DenyCrossOriginRequests, |
m_workerStartData.addressSpace, |
nullptr, |
- bind(&WebEmbeddedWorkerImpl::onScriptLoaderFinished, this)); |
+ bind(&WebEmbeddedWorkerImpl::onScriptLoaderFinished, WTF::unretained(this))); |
// Do nothing here since onScriptLoaderFinished() might have been already |
// invoked and |this| might have been deleted at this point. |
} |