Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MediaStream API: RTCPeerConnection should send down its handler via t…
…he FrameLoaderClient directly after creation. https://bugs.webkit.org/show_bug.cgi?id=98149 Reviewed by Adam Barth. Source/WebCore: The chromium implementation needs to know which Frame created a PeerConnection so that the right housekeeping can take place correctly. Not testable in DRT, but have verified the change manually and with our pyautotests. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::RTCPeerConnection): * loader/FrameLoaderClient.h: (WebCore): (FrameLoaderClient): (WebCore::FrameLoaderClient::dispatchWillStartUsingPeerConnectionHandler): * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp: (WebCore::RTCPeerConnectionHandlerChromium::toWebRTCPeerConnectionHandler): (WebCore): (WebCore::RTCPeerConnectionHandlerChromium::RTCPeerConnectionHandlerChromium): (WebCore::RTCPeerConnectionHandlerChromium::initialize): * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h: (RTCPeerConnectionHandlerChromium): Source/WebKit/chromium: Adding willStartUsingPeerConnectionHandler to the WebFrameClient. * public/WebFrameClient.h: (WebKit): (WebFrameClient): (WebKit::WebFrameClient::willStartUsingPeerConnectionHandler): * src/FrameLoaderClientImpl.cpp: (WebKit): (WebKit::FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler): * src/FrameLoaderClientImpl.h: (FrameLoaderClientImpl): Canonical link: https://commits.webkit.org/116267@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@130270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
107 additions
and 4 deletions.
- +26 −0 Source/WebCore/ChangeLog
- +21 −1 Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
- +7 −0 Source/WebCore/loader/FrameLoaderClient.h
- +10 −2 Source/WebCore/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp
- +3 −1 Source/WebCore/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
- +19 −0 Source/WebKit/chromium/ChangeLog
- +6 −0 Source/WebKit/chromium/public/WebFrameClient.h
- +11 −0 Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp
- +4 −0 Source/WebKit/chromium/src/FrameLoaderClientImpl.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters