Title: [282840] trunk/Tools
Revision
282840
Author
yoshiaki.jitsuk...@sony.com
Date
2021-09-21 14:09:12 -0700 (Tue, 21 Sep 2021)

Log Message

[PlayStation][MiniBrowser] Remove WebKit private header include
https://bugs.webkit.org/show_bug.cgi?id=230183

Reviewed by Ross Kirsling.

* MiniBrowser/playstation/main.cpp:
Remove config.h and wtf/Platform.h include directive.
PlayStation MiniBrowser is expected to be independent of WebKit
private headers (i.e. it should depend only on WK API.) in order to
ensure that we can make a WebBrowser without those headers.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (282839 => 282840)


--- trunk/Tools/ChangeLog	2021-09-21 20:42:34 UTC (rev 282839)
+++ trunk/Tools/ChangeLog	2021-09-21 21:09:12 UTC (rev 282840)
@@ -1,3 +1,16 @@
+2021-09-21  Yoshiaki Jitsukawa  <yoshiaki.jitsuk...@sony.com>
+
+        [PlayStation][MiniBrowser] Remove WebKit private header include
+        https://bugs.webkit.org/show_bug.cgi?id=230183
+
+        Reviewed by Ross Kirsling.
+
+        * MiniBrowser/playstation/main.cpp:
+        Remove config.h and wtf/Platform.h include directive.
+        PlayStation MiniBrowser is expected to be independent of WebKit
+        private headers (i.e. it should depend only on WK API.) in order to
+        ensure that we can make a WebBrowser without those headers.
+
 2021-09-21  Philip Chimento  <pchime...@igalia.com>
 
         Add LLVM/FLang's int128_t implementation to WTF

Modified: trunk/Tools/MiniBrowser/playstation/main.cpp (282839 => 282840)


--- trunk/Tools/MiniBrowser/playstation/main.cpp	2021-09-21 20:42:34 UTC (rev 282839)
+++ trunk/Tools/MiniBrowser/playstation/main.cpp	2021-09-21 21:09:12 UTC (rev 282840)
@@ -23,12 +23,13 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H && defined(BUILDING_WITH_CMAKE)
+#include "cmakeconfig.h"
+#endif
 #include "MainWindow.h"
 #include <WebKit/WKRunLoop.h>
 #include <dlfcn.h>
 #include <toolkitten/Application.h>
-#include <wtf/Platform.h>
 
 using toolkitten::Widget;
 using toolkitten::Application;
@@ -55,7 +56,7 @@
     loadLibraryOrExit("libcairo");
     loadLibraryOrExit("libToolKitten");    
     loadLibraryOrExit("libSceNKWebKitRequirements");
-#if !ENABLE(STATIC_JSC)
+#if !(defined(ENABLE_STATIC_JSC) && ENABLE_STATIC_JSC)
     loadLibraryOrExit("libJavaScriptCore");
 #endif
     loadLibraryOrExit("libWebKit");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to