Title: [241985] trunk/Source/WebKit
Revision
241985
Author
[email protected]
Date
2019-02-22 20:50:56 -0800 (Fri, 22 Feb 2019)

Log Message

[Cocoa] Do not suppress deprecation warnings when calling sandbox_extension_issue_file
https://bugs.webkit.org/show_bug.cgi?id=194971
<rdar://problem/35786264>

Reviewed by Tim Horton.

sandbox_extension_issue_file is not actually deprecated.

* Shared/mac/SandboxExtensionMac.mm:
(WebKit::SandboxExtensionImpl::sandboxExtensionForType):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (241984 => 241985)


--- trunk/Source/WebKit/ChangeLog	2019-02-23 04:40:08 UTC (rev 241984)
+++ trunk/Source/WebKit/ChangeLog	2019-02-23 04:50:56 UTC (rev 241985)
@@ -1,3 +1,16 @@
+2019-02-22  Andy Estes  <[email protected]>
+
+        [Cocoa] Do not suppress deprecation warnings when calling sandbox_extension_issue_file
+        https://bugs.webkit.org/show_bug.cgi?id=194971
+        <rdar://problem/35786264>
+
+        Reviewed by Tim Horton.
+
+        sandbox_extension_issue_file is not actually deprecated.
+
+        * Shared/mac/SandboxExtensionMac.mm:
+        (WebKit::SandboxExtensionImpl::sandboxExtensionForType):
+
 2019-02-22  Wenson Hsieh  <[email protected]>
 
         [iOS] Callout menu overlaps in-page controls when editing a comment in github.com's issue tracker

Modified: trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm (241984 => 241985)


--- trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm	2019-02-23 04:40:08 UTC (rev 241984)
+++ trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm	2019-02-23 04:50:56 UTC (rev 241985)
@@ -84,11 +84,9 @@
     {
         switch (type) {
         case SandboxExtension::Type::ReadOnly:
-            ALLOW_DEPRECATED_DECLARATIONS_BEGIN
             return sandbox_extension_issue_file(APP_SANDBOX_READ, path, 0);
         case SandboxExtension::Type::ReadWrite:
             return sandbox_extension_issue_file(APP_SANDBOX_READ_WRITE, path, 0);
-            ALLOW_DEPRECATED_DECLARATIONS_END
         case SandboxExtension::Type::Generic:
             return sandbox_extension_issue_generic(path, 0);
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to