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

Unified Diff: third_party/WebKit/Source/core/dom/NodeIteratorBase.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/NodeIteratorBase.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp b/third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp
index aa0454923117e0cdc1175037fb12a9f832430782..a0d9a66ebdd27bb8c67befb576efb120a5cc4ecf 100644
--- a/third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp
@@ -42,9 +42,9 @@ unsigned NodeIteratorBase::acceptNode(Node* node, ExceptionState& exceptionState
// The bit twiddling here is done to map DOM node types, which are given as integers from
// 1 through 14, to whatToShow bit masks.
if (!(((1 << (node->getNodeType() - 1)) & m_whatToShow)))
- return NodeFilter::FILTER_SKIP;
+ return NodeFilter::kFilterSkip;
if (!m_filter)
- return NodeFilter::FILTER_ACCEPT;
+ return NodeFilter::kFilterAccept;
return m_filter->acceptNode(node, exceptionState);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeIterator.cpp ('k') | third_party/WebKit/Source/core/dom/ProcessingInstruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698