Changeset 253130 in webkit


Ignore:
Timestamp:
Dec 4, 2019 4:27:49 PM (4 years ago)
Author:
pvollan@apple.com
Message:

Unreviewed fix for failure to create sandbox extension on macOS after r253011. This should be iOS only.

  • UIProcess/UserMediaPermissionRequestManagerProxy.cpp:

(WebKit::UserMediaPermissionRequestManagerProxy::finishGrantingRequest):

  • UIProcess/UserMediaPermissionRequestManagerProxy.h:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r253127 r253130  
     12019-12-04  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Unreviewed fix for failure to create sandbox extension on macOS after r253011. This should be iOS only.
     4
     5        * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
     6        (WebKit::UserMediaPermissionRequestManagerProxy::finishGrantingRequest):
     7        * UIProcess/UserMediaPermissionRequestManagerProxy.h:
     8
    192019-12-04  Per Arne Vollan  <pvollan@apple.com>
    210
  • trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp

    r253059 r253130  
    242242
    243243    SandboxExtension::Handle handle;
    244 #if HAVE(SANDBOX_ISSUE_MACH_EXTENSION_TO_PROCESS_BY_AUDIT_TOKEN)
     244#if PLATFORM(IOS)
    245245    if (!m_hasCreatedSandboxExtensionForTCCD) {
    246246        SandboxExtension::createHandleForMachLookup("com.apple.tccd", m_page.process().connection()->getAuditToken(), handle);
  • trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.h

    r253059 r253130  
    155155#endif
    156156    bool m_hasFilteredDeviceList { false };
    157 #if HAVE(SANDBOX_ISSUE_MACH_EXTENSION_TO_PROCESS_BY_AUDIT_TOKEN)
     157#if PLATFORM(IOS)
    158158    bool m_hasCreatedSandboxExtensionForTCCD { false };
    159159#endif
Note: See TracChangeset for help on using the changeset viewer.