Index: Source/core/workers/WorkerScriptLoader.cpp |
diff --git a/Source/core/workers/WorkerScriptLoader.cpp b/Source/core/workers/WorkerScriptLoader.cpp |
index ba33a8bca24cc0758143aa9a305e5f4c5ad7cdb6..2dae9b8b171265a0c7f4342ad841d840dadfa3af 100644 |
--- a/Source/core/workers/WorkerScriptLoader.cpp |
+++ b/Source/core/workers/WorkerScriptLoader.cpp |
@@ -40,6 +40,8 @@ |
namespace WebCore { |
+DEFINE_GC_INFO(WorkerScriptLoader); |
+ |
WorkerScriptLoader::WorkerScriptLoader() |
: m_client(0) |
, m_failed(false) |
@@ -87,7 +89,7 @@ void WorkerScriptLoader::loadAsynchronously(ExecutionContext* executionContext, |
options.crossOriginRequestPolicy = crossOriginRequestPolicy; |
// During create, callbacks may happen which remove the last reference to this object. |
- RefPtr<WorkerScriptLoader> protect(this); |
+ RefPtrWillBeRawPtr<WorkerScriptLoader> protect(this); |
m_threadableLoader = ThreadableLoader::create(executionContext, this, *request, options); |
} |