Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 2afd0f37ffaf4f647c4cc55d5581845716494efc..09a10d03ac2aa0bc918d9ab4ea2de062701a3e89 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -292,9 +292,9 @@ void WorkerGlobalScope::reportBlockedScriptExecutionToInspector(const String& di |
InspectorInstrumentation::scriptExecutionBlockedByCSP(this, directiveText); |
} |
-void WorkerGlobalScope::addMessage(PassRefPtr<ConsoleMessage> prpConsoleMessage) |
+void WorkerGlobalScope::addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage> prpConsoleMessage) |
{ |
- RefPtr<ConsoleMessage> consoleMessage = prpConsoleMessage; |
+ RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = prpConsoleMessage; |
if (!isContextThread()) { |
postTask(AddConsoleMessageTask::create(consoleMessage->source(), consoleMessage->level(), consoleMessage->message())); |
return; |
@@ -303,7 +303,7 @@ void WorkerGlobalScope::addMessage(PassRefPtr<ConsoleMessage> prpConsoleMessage) |
addMessageToWorkerConsole(consoleMessage.release()); |
} |
-void WorkerGlobalScope::addMessageToWorkerConsole(PassRefPtr<ConsoleMessage> consoleMessage) |
+void WorkerGlobalScope::addMessageToWorkerConsole(PassRefPtrWillBeRawPtr<ConsoleMessage> consoleMessage) |
{ |
ASSERT(isContextThread()); |
InspectorInstrumentation::addMessageToConsole(this, consoleMessage.get()); |