Chromium Code Reviews| 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..0146716571ccfbf9ed21ffcbcdce3d506228bd6b 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); |
| + XMLDocumentParser(Document&, FrameView* = 0); |
|
Inactive
2014/05/08 19:45:42
nit: explicit
maheshkk
2014/05/08 20:02:32
Done.
|
| XMLDocumentParser(DocumentFragment*, Element*, ParserContentPolicy); |
| // From DocumentParser |