make it clearer
Created attachment 210937 [details] patch
Comment on attachment 210937 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=210937&action=review r=me. Almost there eh? > Source/WebCore/dom/ComposedShadowTreeWalker.cpp:131 > + ASSERT(node); > + ASSERT(node); Maybe you should also assert that 'node' is non-null here. > Source/WebCore/dom/ComposedShadowTreeWalker.cpp:150 > ASSERT(node); > - if (Node* found = traverseSiblings(direction == TraversalDirectionForward ? node->nextSibling() : node->previousSibling(), direction)) > - return found; > - return escapeFallbackContentElement(node, direction); > + ASSERT(node); And here.
https://trac.webkit.org/r155287