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