Chromium Code Reviews| Index: Source/core/html/parser/TextDocumentParser.cpp |
| diff --git a/Source/core/html/parser/TextDocumentParser.cpp b/Source/core/html/parser/TextDocumentParser.cpp |
| index d29935a77c95559a13dbde1c3f6f887caa709d43..b64e271fca87c038da32873571a352497aa4d8b6 100644 |
| --- a/Source/core/html/parser/TextDocumentParser.cpp |
| +++ b/Source/core/html/parser/TextDocumentParser.cpp |
| @@ -33,7 +33,7 @@ namespace WebCore { |
| using namespace HTMLNames; |
| TextDocumentParser::TextDocumentParser(HTMLDocument* document) |
| - : HTMLDocumentParser(document, false) |
| + : HTMLDocumentParser(*document, false) |
|
Inactive
2014/05/22 19:58:44
This looks unsafe unless TextDocumentParser() cons
maheshkk
2014/05/22 20:15:54
Made TextDocumentParser use reference too.
|
| , m_haveInsertedFakePreElement(false) |
| { |
| } |