Make each WRT/MiniBrowser use the unique wayland socket string. 57/12657/2
authorJoone Hur <joone.hur@intel.com>
Wed, 20 Nov 2013 01:24:23 +0000 (17:24 -0800)
committerJoone Hur <joone.hur@intel.com>
Thu, 21 Nov 2013 06:50:09 +0000 (22:50 -0800)
commit0fb6587cb9b826aad8bf899560797e99e3660d5d
tree83c6dda8bbf8c62c5094fd6449b63ad4530e57e3
parent5c40c144a6418cb4ba56f22ab5d3c05558360763
Make each WRT/MiniBrowser use the unique wayland socket string.

The UIProcess is a Wayland compositor so it creates its own wayland socket string to
communicate with the WebProcess. However, all the UIProcesses create the same wayland
socket string. As a result, the first wrt instance can only render a web page well.

This patch allow to create a unique wayland socket string using process ID
instead of the return value of epoll_create1.

Change-Id: Ie12139d5802e642a5dcf040b0e757152eac534ad
Source/WebCore/platform/graphics/surfaces/wayland/WaylandDisplay.cpp