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

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

Issue 16379002: inline WebCore::Node::Node constructor more safely (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fixes Created 7 years, 6 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 | « Source/core/dom/Notation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.h
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
index 10fc820d0d3ad65be3ea6ab8c8f71eae7a66486e..44565a62163220936783058312fae1b5aeba273d 100644
--- a/Source/core/dom/Text.h
+++ b/Source/core/dom/Text.h
@@ -58,8 +58,8 @@ public:
virtual NodeType nodeType() const OVERRIDE;
protected:
- Text(Document* document, const String& data, ConstructionType type)
- : CharacterData(document, data, type)
+ Text(TreeScope* tree_scope, const String& data, ConstructionType type)
eseidel 2013/06/05 00:29:12 treeScope
+ : CharacterData(tree_scope, data, type)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/dom/Notation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698