Index: Source/core/html/parser/XSSAuditorDelegate.cpp |
diff --git a/Source/core/html/parser/XSSAuditorDelegate.cpp b/Source/core/html/parser/XSSAuditorDelegate.cpp |
index 51f0825f52b89b57da5d37814a62de594734fcb5..b13435db3fa1ec9b0dd144df6341095628655c93 100644 |
--- a/Source/core/html/parser/XSSAuditorDelegate.cpp |
+++ b/Source/core/html/parser/XSSAuditorDelegate.cpp |
@@ -107,7 +107,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo) |
m_document->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, xssInfo.buildConsoleError())); |
// stopAllLoaders can detach the LocalFrame, so protect it. |
- RefPtr<LocalFrame> protect(m_document->frame()); |
+ RefPtrWillBeRawPtr<LocalFrame> protect(m_document->frame()); |
FrameLoader& frameLoader = m_document->frame()->loader(); |
if (xssInfo.m_didBlockEntirePage) |
frameLoader.stopAllLoaders(); |