Changeset 241985 in webkit


Ignore:
Timestamp:
Feb 22, 2019 8:50:56 PM (5 years ago)
Author:
aestes@apple.com
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r241971 r241985  
     12019-02-22  Andy Estes  <aestes@apple.com>
     2
     3        [Cocoa] Do not suppress deprecation warnings when calling sandbox_extension_issue_file
     4        https://bugs.webkit.org/show_bug.cgi?id=194971
     5        <rdar://problem/35786264>
     6
     7        Reviewed by Tim Horton.
     8
     9        sandbox_extension_issue_file is not actually deprecated.
     10
     11        * Shared/mac/SandboxExtensionMac.mm:
     12        (WebKit::SandboxExtensionImpl::sandboxExtensionForType):
     13
    1142019-02-22  Wenson Hsieh  <wenson_hsieh@apple.com>
    215
  • trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm

    r240437 r241985  
    8585        switch (type) {
    8686        case SandboxExtension::Type::ReadOnly:
    87             ALLOW_DEPRECATED_DECLARATIONS_BEGIN
    8887            return sandbox_extension_issue_file(APP_SANDBOX_READ, path, 0);
    8988        case SandboxExtension::Type::ReadWrite:
    9089            return sandbox_extension_issue_file(APP_SANDBOX_READ_WRITE, path, 0);
    91             ALLOW_DEPRECATED_DECLARATIONS_END
    9290        case SandboxExtension::Type::Generic:
    9391            return sandbox_extension_issue_generic(path, 0);
Note: See TracChangeset for help on using the changeset viewer.