Skip to content

Commit

Permalink
[PlayStation] Register process provider in MiniBrowser
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=255004

Reviewed by Fujii Hironori.

When `USE_WPE_BACKEND_PLAYSTATION` call function to register a process
provider so auxiliary processes can be started.

* Tools/MiniBrowser/playstation/main.cpp

Canonical link: https://commits.webkit.org/262589@main
  • Loading branch information
donny-dont committed Apr 4, 2023
1 parent 1333c20 commit 26e916f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tools/MiniBrowser/playstation/main.cpp
Expand Up @@ -31,6 +31,10 @@
#include <dlfcn.h>
#include <toolkitten/Application.h>

#if defined (USE_WPE_BACKEND_PLAYSTATION) && USE_WPE_BACKEND_PLAYSTATION
#include <wpe/playstation.h>
#endif

using toolkitten::Widget;
using toolkitten::Application;

Expand Down Expand Up @@ -72,6 +76,10 @@ static void initialize()
loadLibraryOrExit("libJavaScriptCore");
#endif
loadLibraryOrExit("libWebKit");

#if defined (USE_WPE_BACKEND_PLAYSTATION) && USE_WPE_BACKEND_PLAYSTATION
wpe_playstation_process_provider_register_backend();
#endif
}

class ApplicationClient : public Application::Client {
Expand Down

0 comments on commit 26e916f

Please sign in to comment.