[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 20 02:46:41 PST 2019


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

--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Loïc Yhuel from comment #3)
> (In reply to Carlos Garcia Campos from comment #2)
> > Comment on attachment 362440 [details]
> > Patch
> > 
> > I think this will be easier after bug #194494
> 
> We would need to add a parameter to
> WebProcessPool::platformInitializeWebProcess (in
> WebProcessPool::initializeNewWebProcess, the argument would be
> process.isServiceWorkerProcess()).

I would add an implementation of WebProcess::platformInitializeProcess to initialize m_processType (we need to make this non-mac specific in WebProcess.h). Then you can simply check m_pocessType from platformInitializeWebProcess

-- 
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/20190220/9e455f82/attachment.html>


More information about the webkit-unassigned mailing list