⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 273789 in webkit


Ignore:
Timestamp:
Mar 2, 2021, 7:08:27 PM (6 years ago)
Author:
Alan Coon
Message:

Cherry-pick r273289. rdar://problem/74953476

UserMediaPermissionRequestManagerProxy may be released while computing capture device list
​https://bugs.webkit.org/show_bug.cgi?id=222236
<rdar://74480265>

Unreviewed, address post-review comment.

  • UIProcess/UserMediaPermissionRequestManagerProxy.cpp: (WebKit::UserMediaPermissionRequestManagerProxy::computeFilteredDeviceList): Use captured this.

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

Location:
branches/safari-612.1.5-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-612.1.5-branch/Source/WebKit/ChangeLog

    r273788 r273789  
     12021-03-02  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r273289. rdar://problem/74953476
     4
     5    UserMediaPermissionRequestManagerProxy may be released while computing capture device list
     6    https://bugs.webkit.org/show_bug.cgi?id=222236
     7    <rdar://74480265>
     8   
     9    Unreviewed, address post-review comment.
     10   
     11   
     12    * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
     13    (WebKit::UserMediaPermissionRequestManagerProxy::computeFilteredDeviceList): Use
     14    captured `this`.
     15   
     16   
     17    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     18
     19    2021-02-22  Eric Carlson  <eric.carlson@apple.com>
     20
     21            UserMediaPermissionRequestManagerProxy may be released while computing capture device list
     22            https://bugs.webkit.org/show_bug.cgi?id=222236
     23            <rdar://74480265>
     24
     25            Unreviewed, address post-review comment.
     26
     27            * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
     28            (WebKit::UserMediaPermissionRequestManagerProxy::computeFilteredDeviceList): Use
     29            captured `this`.
     30
    1312021-03-02  Alan Coon  <alancoon@apple.com>
    232
  • branches/safari-612.1.5-branch/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp

    r273786 r273789  
    741741        }
    742742
    743         weakThis->m_hasFilteredDeviceList = !revealIdsAndLabels;
     743        m_hasFilteredDeviceList = !revealIdsAndLabels;
    744744        ALWAYS_LOG(LOGIDENTIFIER, filteredDevices.size(), " devices revealed");
    745745
Note: See TracChangeset for help on using the changeset viewer.