Fix the !(ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)) after r196281
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Feb 2016 10:28:23 +0000 (10:28 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Feb 2016 10:28:23 +0000 (10:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=154035

Reviewed by Antti Koivisto.

* dom/ComposedTreeIterator.h:
(WebCore::ComposedTreeIterator::Context::Context):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196365 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/ComposedTreeIterator.h

index 34e0c67..3e22ca5 100644 (file)
@@ -1,3 +1,13 @@
+2016-02-10  Csaba Osztrogon√°c  <ossy@webkit.org>
+
+        Fix the !(ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)) after r196281
+        https://bugs.webkit.org/show_bug.cgi?id=154035
+
+        Reviewed by Antti Koivisto.
+
+        * dom/ComposedTreeIterator.h:
+        (WebCore::ComposedTreeIterator::Context::Context):
+
 2016-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Toggle buttons are blurry with GTK+ 3.19
index 334e77b..faa4e35 100644 (file)
@@ -71,8 +71,14 @@ private:
         { }
         Context(ContainerNode& root, Node& node, size_t slotNodeIndex = notFound)
             : iterator(root, &node)
+#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
             , slotNodeIndex(slotNodeIndex)
         { }
+#else
+        {
+            UNUSED_PARAM(slotNodeIndex);
+        }
+#endif
 
         ElementAndTextDescendantIterator iterator;
 #if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)