diff --git a/Source/WebKit/GPUProcess/media/cocoa/RemoteMediaPlayerManagerProxyCocoa.mm b/Source/WebKit/GPUProcess/media/cocoa/RemoteMediaPlayerManagerProxyCocoa.mm index 3573ce54be3f3..e1b7b6125d8e4 100644 --- a/Source/WebKit/GPUProcess/media/cocoa/RemoteMediaPlayerManagerProxyCocoa.mm +++ b/Source/WebKit/GPUProcess/media/cocoa/RemoteMediaPlayerManagerProxyCocoa.mm @@ -47,7 +47,7 @@ void RemoteMediaPlayerManagerProxy::handleVideoReceiverEndpointMessage(const VideoReceiverEndpointMessage& endpointMessage) { ASSERT(endpointMessage.mediaElementIdentifier().isValid()); - if (!endpointMessage.mediaElementIdentifier().isValid) + if (!endpointMessage.mediaElementIdentifier().isValid()) return; auto cachedEntry = m_videoReceiverEndpointCache.find(endpointMessage.mediaElementIdentifier());