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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentOrderedList.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/DocumentOrderedList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
index aa853789cf7de3a892642a374057b07c5df8a483..194cd0c99bf194a0abf8fa8b44d4b9076dc961a3 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
@@ -47,7 +47,7 @@ void DocumentOrderedList::add(Node* node)
--it;
Node* n = *it;
unsigned short position = n->compareDocumentPosition(node, Node::TreatShadowTreesAsComposed);
- if (position & Node::DOCUMENT_POSITION_FOLLOWING) {
+ if (position & Node::kDocumentPositionFollowing) {
m_nodes.insertBefore(followingNode, node);
return;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentFragment.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698