Unreviewed build fix after 156082. Guard SVG code with defines.
authormihnea@adobe.com <mihnea@adobe.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 07:07:35 +0000 (07:07 +0000)
committermihnea@adobe.com <mihnea@adobe.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 07:07:35 +0000 (07:07 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156086 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderNamedFlowThread.cpp

index a618d8feeb278ab23dcd5cd6aaa831c84382c806..20ab20f1a922736ceafbba49e943794c18845350 100644 (file)
@@ -1,3 +1,10 @@
+2013-09-18  Mihnea Ovidenie  <mihnea@adobe.com>
+
+        Unreviewed build fix after 156082. Guard SVG code with defines.
+
+        * rendering/RenderNamedFlowThread.cpp:
+        (WebCore::nextNodeInsideContentNode):
+
 2013-09-18  Mihnea Ovidenie  <mihnea@adobe.com>
 
         [CSSRegions] Failed to retrieve named flow ranges for content with inline svg
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);
 }