[Apple Pay] Increment the API version from 6 to 7
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 05:17:08 +0000 (05:17 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 05:17:08 +0000 (05:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197041
<rdar://problem/49986625>

Reviewed by Geoffrey Garen.

* Modules/applepay/PaymentCoordinatorClient.cpp:
(WebCore::PaymentCoordinatorClient::supportsVersion):

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/PaymentCoordinatorClient.cpp

index 8aceb48..dd3fde6 100644 (file)
@@ -1,5 +1,16 @@
 2019-04-28  Andy Estes  <aestes@apple.com>
 
+        [Apple Pay] Increment the API version from 6 to 7
+        https://bugs.webkit.org/show_bug.cgi?id=197041
+        <rdar://problem/49986625>
+
+        Reviewed by Geoffrey Garen.
+
+        * Modules/applepay/PaymentCoordinatorClient.cpp:
+        (WebCore::PaymentCoordinatorClient::supportsVersion):
+
+2019-04-28  Andy Estes  <aestes@apple.com>
+
         Fix the watchOS engineering build.
 
         * Modules/webgpu/WebGPUComputePassEncoder.cpp: Included Logging.h.
index f6682f3..bb2943a 100644 (file)
@@ -38,8 +38,10 @@ bool PaymentCoordinatorClient::supportsVersion(unsigned version)
     static const unsigned currentVersion = 2;
 #elif !ENABLE(APPLE_PAY_SESSION_V4)
     static const unsigned currentVersion = 3;
-#else
+#elif !ENABLE(APPLE_PAY_SESSION_V7)
     static const unsigned currentVersion = 6;
+#else
+    static const unsigned currentVersion = 7;
 #endif
 
     return version <= currentVersion;