Add curly braces after one line if statement for the case when we aren't using the...
authorkatherine_cheney@apple.com <katherine_cheney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Apr 2020 00:20:13 +0000 (00:20 +0000)
committerkatherine_cheney@apple.com <katherine_cheney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Apr 2020 00:20:13 +0000 (00:20 +0000)
https://bugs.webkit.org/show_bug.cgi?id=210225
<rdar://problem/61485209>

Reviewed by David Kilzer.

* UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
(WebKit::WebsiteDataStore::initializeAppBoundDomains):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm

index 677c844..67dc248 100644 (file)
@@ -1,3 +1,14 @@
+2020-04-08  Kate Cheney  <katherine_cheney@apple.com>
+
+        Add curly braces after one line if statement for the case when we aren't using the internal SDK
+        https://bugs.webkit.org/show_bug.cgi?id=210225
+        <rdar://problem/61485209>
+
+        Reviewed by David Kilzer.
+
+        * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
+        (WebKit::WebsiteDataStore::initializeAppBoundDomains):
+
 2020-04-08  Brady Eidson  <beidson@apple.com>
 
         Handle [PDFDocument initWithProvider:] returning nil
index 9ab7d97..87cb8b7 100644 (file)
@@ -426,8 +426,9 @@ void WebsiteDataStore::initializeAppBoundDomains(ForceReinitialization forceRein
                 if (appBoundDomains().size() >= maxAppBoundDomainCount)
                     break;
             }
-            if (isInAppBrowserPrivacyEnabled)
+            if (isInAppBrowserPrivacyEnabled) {
                 WEBSITE_DATA_STORE_ADDITIONS
+            }
             hasInitializedAppBoundDomains = true;
         });
     });