Bug 207190

Summary: build error with -DENABLE_WAYLAND_TARGET=OFF
Product: WebKit Reporter: Peter Marquardt <wwwutz>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: wwwutz
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Peter Marquardt 2020-02-04 01:54:50 PST
When building with -DENABLE_WAYLAND_TARGET=OFF there is still a Wayland reference which breaks the build:

Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:276:75: error: no member named 'Wayland' in 'WebCore::PlatformDisplay::Type'
        PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland ? "Wayland" : "X11");
                                                   ~~~~~~~~~~~~~~~~~~~~~~~^
1 warning and 1 error generated.
Comment 1 Peter Marquardt 2020-02-04 23:30:17 PST
also applies  to

Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp:144

and

Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp:172