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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentFragment.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/core/dom/DocumentFragment.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
index d83c9dd6770c097d8bfef8955db53b38c9d5773e..28dd7a139513a12aa285d9b9fb2b821f1daaf726 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
@@ -45,17 +45,17 @@ String DocumentFragment::nodeName() const
Node::NodeType DocumentFragment::getNodeType() const
{
- return DOCUMENT_FRAGMENT_NODE;
+ return kDocumentFragmentNode;
}
bool DocumentFragment::childTypeAllowed(NodeType type) const
{
switch (type) {
- case ELEMENT_NODE:
- case PROCESSING_INSTRUCTION_NODE:
- case COMMENT_NODE:
- case TEXT_NODE:
- case CDATA_SECTION_NODE:
+ case kElementNode:
+ case kProcessingInstructionNode:
+ case kCommentNode:
+ case kTextNode:
+ case kCdataSectionNode:
return true;
default:
return false;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698