Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 70781285349df847ad0924c5a3d0752db896cc63..ceb06a07857d6c949fe48899dd1e365dc2784970 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 = nullptr; |
haraken
2014/04/03 10:39:31
This '= nullptr' was necessary.
|
m_script->evaluate(ScriptSourceCode(scriptLoader->script(), scriptLoader->responseURL()), &errorEvent); |
if (errorEvent) { |
m_script->rethrowExceptionFromImportedScript(errorEvent.release()); |