Index: Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp |
index 29d381347ec3cf050f5e6459f20255ba12dc25fa..57e6730cd64c6c6fa5dbad05f85c897d9815122c 100644 |
--- a/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -47,6 +47,7 @@ |
#include "core/workers/WorkerScriptLoader.h" |
#include "core/workers/WorkerScriptLoaderClient.h" |
#include "core/workers/WorkerThreadStartupData.h" |
+#include "heap/Handle.h" |
#include "modules/serviceworkers/ServiceWorkerThread.h" |
#include "platform/NotImplemented.h" |
#include "platform/SharedBuffer.h" |
@@ -237,7 +238,7 @@ void WebEmbeddedWorkerImpl::onScriptLoaderFinished() |
providePermissionClientToWorker(workerClients.get(), m_permissionClient.release()); |
provideServiceWorkerGlobalScopeClientToWorker(workerClients.get(), ServiceWorkerGlobalScopeClientImpl::create(m_workerContextClient.release())); |
- OwnPtr<WorkerThreadStartupData> startupData = |
+ OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = |
WorkerThreadStartupData::create( |
m_mainScriptLoader->url(), |
m_workerStartData.userAgent, |