Index: Source/core/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp |
index cc32716f406754a4034cb4f756589bc59a245894..cf6a227f307f3c8a1ab9ec100c10b4204a6bd3e7 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp |
@@ -110,7 +110,7 @@ void InspectorConsoleAgent::enable(ErrorString*) |
ConsoleMessageStorage* storage = messageStorage(); |
if (storage->expiredCount()) { |
- RefPtr<ConsoleMessage> expiredMessage = ConsoleMessage::create(OtherMessageSource, WarningMessageLevel, String::format("%d console messages are not shown.", storage->expiredCount())); |
+ RefPtrWillBeRawPtr<ConsoleMessage> expiredMessage = ConsoleMessage::create(OtherMessageSource, WarningMessageLevel, String::format("%d console messages are not shown.", storage->expiredCount())); |
expiredMessage->setTimestamp(0); |
sendConsoleMessageToFrontend(expiredMessage.get(), false); |
} |
@@ -386,7 +386,7 @@ void InspectorConsoleAgent::sendConsoleMessageToFrontend(ConsoleMessage* console |
jsonObj->setExecutionContextId(m_injectedScriptManager->injectedScriptIdFor(scriptState)); |
if (consoleMessage->source() == NetworkMessageSource && consoleMessage->requestIdentifier()) |
jsonObj->setNetworkRequestId(IdentifiersFactory::requestId(consoleMessage->requestIdentifier())); |
- RefPtr<ScriptArguments> arguments = consoleMessage->scriptArguments(); |
+ RefPtrWillBeRawPtr<ScriptArguments> arguments = consoleMessage->scriptArguments(); |
if (arguments && arguments->argumentCount()) { |
InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(arguments->scriptState()); |
if (!injectedScript.isEmpty()) { |