Unreviewed build fix after 156082. Guard SVG code with defines.
[WebKit-https.git] / Source / WebCore / rendering / RenderNamedFlowThread.cpp
index 70bcd7a21dc1989adf412bd306a8cb71846b01ec..357ad4da24f756c03abc54a3f954750f3f710c2e 100644 (file)
@@ -574,8 +574,10 @@ static Node* nextNodeInsideContentNode(const Node* currNode, const Node* content
     ASSERT(currNode);
     ASSERT(contentNode && contentNode->inNamedFlow());
 
+#if ENABLE(SVG)
     if (currNode->renderer() && currNode->renderer()->isSVGRoot())
         return NodeTraversal::nextSkippingChildren(currNode, contentNode);
+#endif
     return NodeTraversal::next(currNode, contentNode);
 }