Fix the build when ENABLE(APPLE_PAY) is false.
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2019 00:18:27 +0000 (00:18 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2019 00:18:27 +0000 (00:18 +0000)
* Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:

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

Source/WebKit/ChangeLog
Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm

index dcba746..32d8696 100644 (file)
@@ -1,3 +1,9 @@
+2019-08-14  Andy Estes  <aestes@apple.com>
+
+        Fix the build when ENABLE(APPLE_PAY) is false.
+
+        * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
+
 2019-08-14  Keith Rollin  <krollin@apple.com>
 
         Remove support for macOS < 10.13
index b19b486..9f41854 100644 (file)
@@ -43,7 +43,7 @@
 
 #if USE(APPLE_INTERNAL_SDK)
 #import <WebKitAdditions/WebCoreArgumentCodersCocoaAdditions.mm>
-#else
+#elif ENABLE(APPLE_PAY)
 namespace IPC {
 static bool finishDecoding(Decoder&, WebCore::ApplePaySessionPaymentRequest&) { return true; }
 static void finishEncoding(Encoder&, const WebCore::ApplePaySessionPaymentRequest&) { }