Index: Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp |
index 9a366fda6488678f23829a4a3c1b76ccacbaa6b2..dc41f40184b8a2b7a6cda1536f927dd9c9c426f8 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -442,7 +442,7 @@ void XMLDocumentParser::finish() |
// However, FrameLoader::stop calls DocumentParser::finish unconditionally. |
// flush may ending up executing arbitrary script, and possibly detach the parser. |
- RefPtr<XMLDocumentParser> protect(this); |
+ RefPtrWillBeRawPtr<XMLDocumentParser> protect(this); |
flush(); |
if (isDetached()) |
return; |