Unreviewed, a build fix after r246701
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jun 2019 00:26:02 +0000 (00:26 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jun 2019 00:26:02 +0000 (00:26 +0000)
* Shared/LoadParameters.h:
Add a default value for shouldOpenExternalURLsPolicy.

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

Source/WebKit/ChangeLog
Source/WebKit/Shared/LoadParameters.h

index e653614..1bce3f9 100644 (file)
@@ -1,3 +1,10 @@
+2019-06-21  Jiewen Tan  <jiewen_tan@apple.com>
+
+        Unreviewed, a build fix after r246701
+
+        * Shared/LoadParameters.h:
+        Add a default value for shouldOpenExternalURLsPolicy.
+
 2019-06-21  Brent Fulgham  <bfulgham@apple.com>
 
         Adjust sandboxes based on seed feedback
index 33a3c93..b5d2d28 100644 (file)
@@ -63,7 +63,7 @@ struct LoadParameters {
 
     Optional<WebsitePoliciesData> websitePolicies;
 
-    WebCore::ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy;
+    WebCore::ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy { WebCore::ShouldOpenExternalURLsPolicy::ShouldNotAllow };
     bool shouldTreatAsContinuingLoad { false };
     UserData userData;
     WebCore::LockHistory lockHistory { WebCore::LockHistory::No };