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

Unified Diff: Source/core/dom/CharacterData.h

Issue 23754005: Have CharacterData constructor take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « no previous file | Source/core/dom/Comment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | Source/core/dom/Comment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698