Index: Source/core/dom/CharacterData.h |
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h |
index d35623c417f6332f85b46a48e7570c674a418f43..e783803ecbb5b558276fb2933793500dfbaff712 100644 |
--- a/Source/core/dom/CharacterData.h |
+++ b/Source/core/dom/CharacterData.h |
@@ -51,8 +51,8 @@ public: |
unsigned parserAppendData(const String& string, unsigned offset, unsigned lengthLimit); |
protected: |
- CharacterData(TreeScope* treeScope, const String& text, ConstructionType type) |
- : Node(treeScope, 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); |