Unreviewed, add missing PLATFORM(COCOA) guard after r233207
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Jun 2018 18:44:34 +0000 (18:44 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Jun 2018 18:44:34 +0000 (18:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186788
<rdar://problem/41094167>

* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleExtendClassesForParameterCoder):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233400 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundle.cpp

index 9bccd26..9b9b6ee 100644 (file)
@@ -1,3 +1,12 @@
+2018-06-30  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, add missing PLATFORM(COCOA) guard after r233207
+        https://bugs.webkit.org/show_bug.cgi?id=186788
+        <rdar://problem/41094167>
+
+        * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+        (WKBundleExtendClassesForParameterCoder):
+
 2018-06-30  Dan Bernstein  <mitz@apple.com>
 
         Added a missing availability attribute.
index e27fc2c..d1c7b0f 100644 (file)
@@ -297,7 +297,7 @@ void WKBundleResourceLoadStatisticsNotifyObserver(WKBundleRef)
 
 void WKBundleExtendClassesForParameterCoder(WKBundleRef bundle, WKArrayRef classes)
 {
-#if WK_API_ENABLED
+#if PLATFORM(COCOA) && WK_API_ENABLED
     auto classList = WebKit::toImpl(classes);
     if (!classList)
         return;