Skip to content

Commit

Permalink
Added Ref to RemoteMediaPlayerManagerProxy::createMediaPlayer
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=260488
rdar://114215670

Reviewed by Ryosuke Niwa.

Canonical link: https://commits.webkit.org/267115@main
  • Loading branch information
abigailfox authored and rniwa committed Aug 22, 2023
1 parent 6740671 commit cb3dfe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void RemoteMediaPlayerManagerProxy::createMediaPlayer(MediaPlayerIdentifier iden
ASSERT(m_gpuConnectionToWebProcess);
ASSERT(!m_proxies.contains(identifier));

auto proxy = RemoteMediaPlayerProxy::create(*this, identifier, m_gpuConnectionToWebProcess->connection(), engineIdentifier, WTFMove(proxyConfiguration), m_gpuConnectionToWebProcess->videoFrameObjectHeap(), m_gpuConnectionToWebProcess->webProcessIdentity());
auto proxy = RemoteMediaPlayerProxy::create(*this, identifier, Ref { m_gpuConnectionToWebProcess->connection() }, engineIdentifier, WTFMove(proxyConfiguration), m_gpuConnectionToWebProcess->videoFrameObjectHeap(), m_gpuConnectionToWebProcess->webProcessIdentity());
m_proxies.add(identifier, WTFMove(proxy));
}

Expand Down

0 comments on commit cb3dfe3

Please sign in to comment.