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

Unified Diff: sky/engine/core/dom/shadow/ComposedTreeWalker.cpp

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « sky/engine/core/dom/TreeScope.cpp ('k') | sky/engine/core/dom/shadow/ElementShadow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/shadow/ComposedTreeWalker.cpp
diff --git a/sky/engine/core/dom/shadow/ComposedTreeWalker.cpp b/sky/engine/core/dom/shadow/ComposedTreeWalker.cpp
index b3f49229af8a19b50ecb64b8ad63f9f3633bd9a6..042b4002c56a9aa3ba10239a734189a9da6fd338 100644
--- a/sky/engine/core/dom/shadow/ComposedTreeWalker.cpp
+++ b/sky/engine/core/dom/shadow/ComposedTreeWalker.cpp
@@ -70,7 +70,7 @@ Node* ComposedTreeWalker::traverseNode(const Node* node, TraversalDirection dire
const InsertionPoint* insertionPoint = toInsertionPoint(node);
if (Node* found = traverseDistributedNodes(direction == TraversalDirectionForward ? insertionPoint->first() : insertionPoint->last(), insertionPoint, direction))
return found;
- ASSERT(isHTMLContentElement(node) && !node->hasChildren());
+ ASSERT_NOT_REACHED();
return 0;
}
« no previous file with comments | « sky/engine/core/dom/TreeScope.cpp ('k') | sky/engine/core/dom/shadow/ElementShadow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698