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

Unified Diff: Source/core/dom/Comment.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 | « no previous file | Source/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Comment.cpp
diff --git a/Source/core/dom/Comment.cpp b/Source/core/dom/Comment.cpp
index 186008aeceb9ec0f633f7ed1942d265038fd3b7b..90fb91b2ab8f4ba001f669c8c1ccfaf25b2b01d6 100644
--- a/Source/core/dom/Comment.cpp
+++ b/Source/core/dom/Comment.cpp
@@ -39,7 +39,7 @@ PassRefPtr<Comment> Comment::create(Document& document, const String& text)
String Comment::nodeName() const
{
- return commentAtom.string();
+ return "#comment";
}
Node::NodeType Comment::nodeType() const
« no previous file with comments | « no previous file | Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698