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

Unified Diff: third_party/WebKit/Source/web/WebNode.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
Index: third_party/WebKit/Source/web/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index 821f2307f966bc9574021a61de4887e00b1c8ca6..2f06c7859ba35cb6b94429d9a9637c7b99936f4c 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -159,7 +159,7 @@ bool WebNode::isTextNode() const
bool WebNode::isCommentNode() const
{
- return m_private->getNodeType() == Node::COMMENT_NODE;
+ return m_private->getNodeType() == Node::kCommentNode;
}
bool WebNode::isFocusable() const
@@ -193,7 +193,7 @@ bool WebNode::isDocumentNode() const
bool WebNode::isDocumentTypeNode() const
{
- return m_private->getNodeType() == Node::DOCUMENT_TYPE_NODE;
+ return m_private->getNodeType() == Node::kDocumentTypeNode;
}
void WebNode::simulateClick()
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebPerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698