Chromium Code Reviews

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

Issue 106483002: Remove WTF::textAtom and WTF::commentAtom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/dom/Comment.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index 12ba85ec63c4a597295a3c11808983d38ff46960..f43f6ecd0e0edaf27a1352fd2c5bd5c6f32f43ef 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -226,7 +226,7 @@ PassRefPtr<Text> Text::replaceWholeText(const String& newText)
String Text::nodeName() const
{
- return textAtom.string();
+ return "#text";
}
Node::NodeType Text::nodeType() const
« no previous file with comments | « Source/core/dom/Comment.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine