[Webkit-unassigned] [Bug 158347] New: Fix the !ENABLE(SHADOW_DOM) && !ENABLE(DETAILS_ELEMENT) build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 08:00:05 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158347

            Bug ID: 158347
           Summary: Fix the !ENABLE(SHADOW_DOM) &&
                    !ENABLE(DETAILS_ELEMENT) build
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ossy at webkit.org
                CC: ossy at webkit.org

build log:
In file included from /usr/include/c++/5/ratio:38:0,
                 from /usr/include/c++/5/chrono:38,
                 from ../../Source/WTF/wtf/StdLibExtras.h:30,
                 from ../../Source/WTF/wtf/FastMalloc.h:26,
                 from ../../Source/WebCore/config.h:75,
                 from ../../Source/WebCore/dom/ContainerNode.cpp:23:
/usr/include/c++/5/type_traits: In instantiation of 'struct std::is_base_of<WebCore::Node, WebCore::HTMLSlotElement>':
../../Source/WTF/wtf/TypeCasts.h:59:79:   required from 'bool WTF::is(ArgType&) [with ExpectedType = WebCore::HTMLSlotElement; ArgType = WebCore::Node]'
../../Source/WebCore/dom/ContainerNode.cpp:103:91:   required from here
/usr/include/c++/5/type_traits:1459:12: error: invalid use of incomplete type 'class WebCore::HTMLSlotElement'
In file included from ../../Source/WebCore/dom/ContainerNode.h:29:0,
                 from ../../Source/WebCore/dom/ContainerNode.cpp:24:
../../Source/WebCore/dom/Node.h:49:7: note: forward declaration of 'class WebCore::HTMLSlotElement'
In file included from ../../Source/WTF/wtf/Ref.h:33:0,
                 from ../../Source/WTF/wtf/PassRefPtr.h:25,
                 from ../../Source/WTF/wtf/RefPtr.h:30,
                 from ../../Source/WebCore/dom/RegisteredEventListener.h:28,
                 from ../../Source/WebCore/dom/EventListenerMap.h:36,
                 from ../../Source/WebCore/dom/EventTarget.h:34,
                 from ../../Source/WebCore/dom/Node.h:28,
                 from ../../Source/WebCore/dom/ContainerNode.h:29,
                 from ../../Source/WebCore/dom/ContainerNode.cpp:24:
../../Source/WTF/wtf/TypeCasts.h: In instantiation of 'bool WTF::is(ArgType&) [with ExpectedType = WebCore::HTMLSlotElement; ArgType = WebCore::Node]':
../../Source/WebCore/dom/ContainerNode.cpp:103:91:   required from here
../../Source/WTF/wtf/TypeCasts.h:59:79: error: 'value' is not a member of 'std::is_base_of<WebCore::Node, WebCore::HTMLSlotElement>'


HTMLSlotElement has ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT) guards, we should guard all of its uses.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160603/8bf3ddc9/attachment.html>


More information about the webkit-unassigned mailing list