Title: [243616] trunk/Source/WebCore
Revision
243616
Author
[email protected]
Date
2019-03-28 12:32:53 -0700 (Thu, 28 Mar 2019)

Log Message

Fix the !ENABLE(APPLE_PAY) build

* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::shouldAllowUserAgentScripts const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (243615 => 243616)


--- trunk/Source/WebCore/ChangeLog	2019-03-28 19:18:10 UTC (rev 243615)
+++ trunk/Source/WebCore/ChangeLog	2019-03-28 19:32:53 UTC (rev 243616)
@@ -1,3 +1,10 @@
+2019-03-28  Tim Horton  <[email protected]>
+
+        Fix the !ENABLE(APPLE_PAY) build
+
+        * bindings/js/ScriptController.cpp:
+        (WebCore::ScriptController::shouldAllowUserAgentScripts const):
+
 2019-03-28  Sihui Liu  <[email protected]>
 
         Crash at IDBDatabaseInfo::infoForExistingObjectStore and IDBDatabaseInfo::infoForExistingObjectStore

Modified: trunk/Source/WebCore/bindings/js/ScriptController.cpp (243615 => 243616)


--- trunk/Source/WebCore/bindings/js/ScriptController.cpp	2019-03-28 19:18:10 UTC (rev 243615)
+++ trunk/Source/WebCore/bindings/js/ScriptController.cpp	2019-03-28 19:32:53 UTC (rev 243616)
@@ -570,6 +570,8 @@
 #if ENABLE(APPLE_PAY)
     if (auto page = m_frame.page())
         return page->paymentCoordinator().shouldAllowUserAgentScripts(document);
+#else
+    UNUSED_PARAM(document);
 #endif
     return true;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to