[Webkit-unassigned] [Bug 186841] [WPE] Pass the backend library name as command line parameter to the web process
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 10 02:36:25 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186841
--- Comment #14 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 344682
--> https://bugs.webkit.org/attachment.cgi?id=344682
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=344682&action=review
> Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:106
> +#if defined(WPE_BACKEND_CHECK_VERSION) && WPE_BACKEND_CHECK_VERSION(0, 2, 0)
> + wpeBackendLibraryParameter.reset(g_strdup_printf("--backend-library=%s", wpe_loader_get_loaded_implementation_library_name()));
> +#endif
Do we need the --backend-library flag?
> Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:137
> + argv[i++] = wpeBackendLibraryParameter ? wpeBackendLibraryParameter.get() : "-";
I don't think wpeBackendLibraryParameter can be null if you use g_strdup_printf()? Unless we can remove the --backend-library flag and just strdup the impl library name, if any.
--
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/20180710/558c1f9c/attachment.html>
More information about the webkit-unassigned
mailing list