<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi:</div><div> i am a new beginner of of webkit,  i meet a problem when i review the code of w<span style="color: rgb(0, 0, 255);"></span>ebkitgtk-2.18.6. in directory</div><div><br></div><div>./webkitgtk-2.18.6/Source/WebCore/platform/graphic</div><div><br></div><div>i see there are two graphic backend "PlatformDisplayX11" and "PlatformDisplayWayland" are inherited from webcore class <span style="color: rgb(0, 0, 255);">PlatformDispla</span><span style="color: rgb(0, 0, 255);">y, </span> my questions is, </div><div>why webkit call the x11 or wayland directly without through the GTK graphic interface?  the graphic backend should be the GTK right?   so in my believe,  it should be the GTK lib not the webkit call  wayland or x11, where am i wrong?</div><div><br></div><div><div>x11/PlatformDisplayX11.h:38:class PlatformDisplayX11 final : <span style="color: rgb(0, 0, 255);">public PlatformDisplay {</span></div><div>wayland/PlatformDisplayWayland.h:37:class PlatformDisplayWayland : <span style="color: rgb(0, 0, 255);">public PlatformDispla</span><span style="color: rgb(0, 0, 255);">y {</span></div></div><div><span style="color: rgb(0, 0, 255);"><br></span></div><div><span style="color: rgb(0, 0, 255);">thanks for your kindly support and i much appreciate.</span></div></div><br><br><span title="neteasefooter"><p><br/> </p></span>