Index: Source/core/dom/CharacterData.h |
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h |
index 455058983d99d5bef0e6def940b0d4e57b73c329..06ca792d16c5382a94b4c69fbb7a748b60eeea46 100644 |
--- a/Source/core/dom/CharacterData.h |
+++ b/Source/core/dom/CharacterData.h |
@@ -50,8 +50,8 @@ public: |
virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
protected: |
- CharacterData(Document* document, const String& text, ConstructionType type) |
- : Node(document, type) |
+ CharacterData(TreeScope* treeScope, const String& text, ConstructionType type) |
+ : Node(treeScope, type) |
, m_data(!text.isNull() ? text : emptyString()) |
{ |
ASSERT(type == CreateOther || type == CreateText || type == CreateEditingText); |