Index: Source/core/loader/DocumentLoader.cpp |
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp |
index 67355fb6e0c2565a4f6a0a6b82f5bdbede694820..d3255fd0c928d557ad6bc99cfec84c9243508959 100644 |
--- a/Source/core/loader/DocumentLoader.cpp |
+++ b/Source/core/loader/DocumentLoader.cpp |
@@ -454,7 +454,7 @@ void DocumentLoader::responseReceived(Resource* resource, const ResourceResponse |
if (frameLoader()->shouldInterruptLoadForXFrameOptions(content, response.url(), identifier)) { |
InspectorInstrumentation::continueAfterXFrameOptionsDenied(m_frame, this, identifier, response); |
String message = "Refused to display '" + response.url().elidedString() + "' in a frame because it set 'X-Frame-Options' to '" + content + "'."; |
- RefPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, message); |
+ RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, message); |
consoleMessage->setRequestIdentifier(identifier); |
frame()->document()->addMessage(consoleMessage.release()); |
frame()->document()->enforceSandboxFlags(SandboxOrigin); |