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

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. 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/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
This is Rietveld 408576698