Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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):


Canonical link: https://commits.webkit.org/211559@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aestes committed Apr 29, 2019
1 parent c861121 commit ecfa6b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
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.
Expand Down
4 changes: 3 additions & 1 deletion Source/WebCore/Modules/applepay/PaymentCoordinatorClient.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ecfa6b1

Please sign in to comment.