[Webkit-unassigned] [Bug 194830] [WPE] Do not create a PlatformDisplay in the Service Worker process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 05:29:31 PST 2019


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

Zan Dobersek <zan at falconsigh.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zan at falconsigh.net

--- Comment #8 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 362973
  --> https://bugs.webkit.org/attachment.cgi?id=362973
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362973&action=review

> Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:95
> -void WebProcessPool::platformInitializeWebProcess(WebProcessCreationParameters& parameters)
> +void WebProcessPool::platformInitializeWebProcess(WebProcessCreationParameters& parameters, bool isServiceWorkerProcess)
>  {
>  #if PLATFORM(WPE)
> -    parameters.hostClientFileDescriptor = wpe_renderer_host_create_client();
> +    if (!isServiceWorkerProcess)
> +        parameters.hostClientFileDescriptor = wpe_renderer_host_create_client();

Instead of the extra bool parameter to this method, there should be an extra bool variable `isServiceWorkerProcess` added to WebProcessCreationParameters for the WPE port. It would be initialized in WebProcessPool::initializeNewWebProcess() before the platformInitializeWebProcess() call.

-- 
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/20190227/7129480b/attachment-0001.html>


More information about the webkit-unassigned mailing list