Unreviewed, a build fix after r247437

* TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm:
Added platform guard towards -[WKUIDelegate _presentingViewControllerForWebView:].

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@247458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index a045022..3af19e1 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,10 @@
+2019-07-15  Jiewen Tan  <jiewen_tan@apple.com>
+
+        Unreviewed, a build fix after r247437
+
+        * TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm:
+        Added platform guard towards -[WKUIDelegate _presentingViewControllerForWebView:].
+
 2019-07-15  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [macOS 10.15] Cannot unbold selected text when the system font is used
diff --git a/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm b/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm
index 2d1a25a..ad292da 100644
--- a/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm
+++ b/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm
@@ -207,10 +207,12 @@
     });
 }
 
+#if PLATFORM(IOS)
 - (UIViewController *)_presentingViewControllerForWebView:(WKWebView *)webView
 {
     return nil;
 }
+#endif
 
 @end