Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 70781285349df847ad0924c5a3d0752db896cc63..745b5b78d6678d0af6040ab34eacad7bc2ad82b9 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -236,7 +236,7 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState |
InspectorInstrumentation::scriptImported(executionContext(), scriptLoader->identifier(), scriptLoader->script()); |
- RefPtr<ErrorEvent> errorEvent; |
+ RefPtrWillBeRawPtr<ErrorEvent> errorEvent; |
m_script->evaluate(ScriptSourceCode(scriptLoader->script(), scriptLoader->responseURL()), &errorEvent); |
if (errorEvent) { |
m_script->rethrowExceptionFromImportedScript(errorEvent.release()); |