Index: Source/core/workers/SharedWorkerGlobalScope.cpp |
diff --git a/Source/core/workers/SharedWorkerGlobalScope.cpp b/Source/core/workers/SharedWorkerGlobalScope.cpp |
index d79e251aa97ca0ddefb6aa17fa11b021ff695d6f..2c94d5db8450e3bc11c6c64f827f09a79f41a3e8 100644 |
--- a/Source/core/workers/SharedWorkerGlobalScope.cpp |
+++ b/Source/core/workers/SharedWorkerGlobalScope.cpp |
@@ -82,7 +82,7 @@ SharedWorkerThread* SharedWorkerGlobalScope::thread() |
void SharedWorkerGlobalScope::logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) |
{ |
WorkerGlobalScope::logExceptionToConsole(errorMessage, sourceURL, lineNumber, columnNumber, callStack); |
- RefPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber); |
+ RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber); |
consoleMessage->setCallStack(callStack); |
addMessageToWorkerConsole(consoleMessage.release()); |
} |