Bug 161483 - [GTK] SetNativeSurfaceHandleForCompositing should not be compiled in for wayland build
Summary: [GTK] SetNativeSurfaceHandleForCompositing should not be compiled in for wayl...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 04:24 PDT by memeka
Modified: 2016-09-05 01:00 PDT (History)
2 users (show)

See Also:


Attachments
Patch (10.65 KB, patch)
2016-09-05 00:06 PDT, Carlos Garcia Campos
zan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description memeka 2016-09-01 04:24:16 PDT
when compiling with X11=OFF, WAYLAND=ON, build fails with error:

Source/WebKit2/UIProcess/AcceleratedDrawingAreaProxy.cpp: In member function ‘void WebKit::AcceleratedDrawingAreaProxy::setNativeSurfaceHandleForCompositing(uint64_t)’: Source/WebKit2/UIProcess/AcceleratedDrawingAreaProxy.cpp:271:129: error: ‘DispatchMessageEvenWhenWaitingForSyncReply’ is not a member of
8:16 PM ‘IPC’
m_webPageProxy.process().send(Messages::DrawingArea::SetNativeSurfaceHandleForCompositing(handle), m_webPageProxy.pageID(), IPC::DispatchMessageEvenWhenWaitingForSyncReply);

but SetNativeSurfaceHandleForCompositing should not be compiled in for Wayland.
Comment 1 Carlos Garcia Campos 2016-09-05 00:06:51 PDT
Created attachment 287935 [details]
Patch
Comment 2 Carlos Garcia Campos 2016-09-05 01:00:06 PDT
Committed r205431: <http://trac.webkit.org/changeset/205431>