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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/Serialization.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/editing/serializers/Serialization.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
index 7aed8b230a4ec54eaf3a33d1932b05a022f3b361..859e0cd43abf8f2ceac78802c0bf23968d3c9e15 100644
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
@@ -293,7 +293,7 @@ static bool findNodesSurroundingContext(DocumentFragment* fragment, Comment*& no
if (!fragment->firstChild())
return false;
for (Node& node : NodeTraversal::startsAt(*fragment->firstChild())) {
- if (node.getNodeType() == Node::COMMENT_NODE && toComment(node).data() == fragmentMarkerTag) {
+ if (node.getNodeType() == Node::kCommentNode && toComment(node).data() == fragmentMarkerTag) {
if (!nodeBeforeContext) {
nodeBeforeContext = &toComment(node);
} else {

Powered by Google App Engine
This is Rietveld 408576698