[Webkit-unassigned] [Bug 222291] New: WebMouseEvent.h should avoid pulling in WebCore headers that know about DOM nodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 22 15:57:58 PST 2021


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

            Bug ID: 222291
           Summary: WebMouseEvent.h should avoid pulling in WebCore
                    headers that know about DOM nodes
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com

WebMouseEvent.h includes PointerEvent.h, which then includes Node.h and a host of other DOM-related headers. Given that WebMouseEvent.h is a shared header included by code running in the UI process, we probably shouldn't.

...this also fixes a unified source build error, seen here: https://ews-build.webkit.org/#/builders/49/builds/9134/steps/8/logs/errors, which happens because `WebCore::UIEvent` collides with the globally namespaced `UIEvent` Objective-C class from UIKit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210222/a4efc41b/attachment.htm>


More information about the webkit-unassigned mailing list