Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: Source/core/html/parser/TextDocumentParser.h

Issue 277633002: Convert DocumentParser code to Use more reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make TextDocument use reference as well Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/parser/HTMLViewSourceParser.cpp ('k') | Source/core/html/parser/TextDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/TextDocumentParser.h
diff --git a/Source/core/html/parser/TextDocumentParser.h b/Source/core/html/parser/TextDocumentParser.h
index 9134274bccb3390ff660289a1f491b6140173b0a..ab8b8b051e179be00da847ede80d1720cb9e5017 100644
--- a/Source/core/html/parser/TextDocumentParser.h
+++ b/Source/core/html/parser/TextDocumentParser.h
@@ -32,14 +32,14 @@ namespace WebCore {
class TextDocumentParser FINAL : public HTMLDocumentParser {
public:
- static PassRefPtr<TextDocumentParser> create(HTMLDocument* document)
+ static PassRefPtr<TextDocumentParser> create(HTMLDocument& document)
{
return adoptRef(new TextDocumentParser(document));
}
virtual ~TextDocumentParser();
private:
- explicit TextDocumentParser(HTMLDocument*);
+ explicit TextDocumentParser(HTMLDocument&);
virtual void appendBytes(const char*, size_t) OVERRIDE;
void insertFakePreElement();
« no previous file with comments | « Source/core/html/parser/HTMLViewSourceParser.cpp ('k') | Source/core/html/parser/TextDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698