Index: Source/core/html/parser/HTMLViewSourceParser.cpp |
diff --git a/Source/core/html/parser/HTMLViewSourceParser.cpp b/Source/core/html/parser/HTMLViewSourceParser.cpp |
index 55e860f3d1fe2bb8b881a0171bb0087a29f6c7e2..3ecd086ba5bbf1c757540d5f722dfe4614ec5123 100644 |
--- a/Source/core/html/parser/HTMLViewSourceParser.cpp |
+++ b/Source/core/html/parser/HTMLViewSourceParser.cpp |
@@ -33,8 +33,9 @@ |
namespace WebCore { |
+// FIXME: HTMLViewSourceDocument should be a reference. |
HTMLViewSourceParser::HTMLViewSourceParser(HTMLViewSourceDocument* document, const String& mimeType) |
- : DecodedDataDocumentParser(document) |
+ : DecodedDataDocumentParser(*document) |
, m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(document))) |
{ |
if (mimeType != "text/html" && !DOMImplementation::isXMLMIMEType(mimeType)) |