Index: Source/core/dom/ProcessingInstruction.h |
diff --git a/Source/core/dom/ProcessingInstruction.h b/Source/core/dom/ProcessingInstruction.h |
index 7b216f05194413a499c88b219442e71fda0ba9d5..ad33180b6bcd6751d31409da257e192eab8502f9 100644 |
--- a/Source/core/dom/ProcessingInstruction.h |
+++ b/Source/core/dom/ProcessingInstruction.h |
@@ -33,7 +33,7 @@ class CSSStyleSheet; |
class ProcessingInstruction FINAL : public CharacterData, private StyleSheetResourceClient { |
public: |
- static PassRefPtr<ProcessingInstruction> create(Document*, const String& target, const String& data); |
+ static PassRefPtr<ProcessingInstruction> create(Document&, const String& target, const String& data); |
virtual ~ProcessingInstruction(); |
const String& target() const { return m_target; } |
@@ -53,7 +53,7 @@ public: |
private: |
friend class CharacterData; |
- ProcessingInstruction(Document*, const String& target, const String& data); |
+ ProcessingInstruction(Document&, const String& target, const String& data); |
virtual String nodeName() const; |
virtual NodeType nodeType() const; |