Changeset 287646 in webkit
- Timestamp:
- Jan 5, 2022, 12:08:29 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
NetworkProcess/webrtc/NetworkRTCProvider.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r287641 r287646 1 2022-01-05 Youenn Fablet <youenn@apple.com> 2 3 NetworkRTCProvider::attributedBundleIdentifierFromPageIdentifier should check for m_connection 4 https://bugs.webkit.org/show_bug.cgi?id=234845 5 <rdar://82120356> 6 7 Reviewed by Eric Carlson. 8 9 NetworkRTCProvider may call attributedBundleIdentifierFromPageIdentifier in a background thread, 10 which will then hop to main thread to get its session. 11 NetworkRTCProvider might have been closed when getting to main thread so we need to check m_connection. 12 13 * NetworkProcess/webrtc/NetworkRTCProvider.cpp: 14 (WebKit::NetworkRTCProvider::attributedBundleIdentifierFromPageIdentifier): 15 1 16 2022-01-05 Tim Horton <timothy_horton@apple.com> 2 17 -
trunk/Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp
r286432 r287646 154 154 String value; 155 155 callOnMainRunLoopAndWait([&] { 156 auto* session = m_connection ->networkSession();156 auto* session = m_connection ? m_connection->networkSession() : nullptr; 157 157 if (session) 158 158 value = session->attributedBundleIdentifierFromPageIdentifier(pageIdentifier).isolatedCopy();
Note:
See TracChangeset
for help on using the changeset viewer.