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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.h

Issue 276733002: Convert XMLDocumentParser code to Use more reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments 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/inspector/DOMPatchSupport.cpp ('k') | Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLDocumentParser.h
diff --git a/Source/core/xml/parser/XMLDocumentParser.h b/Source/core/xml/parser/XMLDocumentParser.h
index 294c02d8cceea9b4a32603c05d1176b055df5002..2294720c35da9e93b8df92292263fc5ca9c7111a 100644
--- a/Source/core/xml/parser/XMLDocumentParser.h
+++ b/Source/core/xml/parser/XMLDocumentParser.h
@@ -66,7 +66,7 @@ class Text;
class XMLDocumentParser FINAL : public ScriptableDocumentParser, public ResourceClient {
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassRefPtr<XMLDocumentParser> create(Document* document, FrameView* view)
+ static PassRefPtr<XMLDocumentParser> create(Document& document, FrameView* view)
{
return adoptRef(new XMLDocumentParser(document, view));
}
@@ -101,7 +101,7 @@ class Text;
};
private:
- XMLDocumentParser(Document*, FrameView* = 0);
+ explicit XMLDocumentParser(Document&, FrameView* = 0);
XMLDocumentParser(DocumentFragment*, Element*, ParserContentPolicy);
// From DocumentParser
« no previous file with comments | « Source/core/inspector/DOMPatchSupport.cpp ('k') | Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698