diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp b/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp index d1a0135f5..1f9ce89ed 100644 --- a/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp +++ b/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp @@ -112,7 +112,7 @@ void NetworkProcessProxy::didClose(CoreIPC::Connection*) networkProcessCrashedOrFailedToLaunch(); } -void NetworkProcessProxy::didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::MessageID) +void NetworkProcessProxy::didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference, CoreIPC::StringReference) { } @@ -162,6 +162,11 @@ void NetworkProcessProxy::didFinishLaunching(ProcessLauncher*, CoreIPC::Connecti m_connection->send(Messages::NetworkProcess::CreateNetworkConnectionToWebProcess(), 0); m_numPendingConnectionRequests = 0; + +#if PLATFORM(MAC) + if (WebContext::applicationIsOccluded()) + m_connection->send(Messages::NetworkProcess::SetApplicationIsOccluded(true), 0); +#endif } } // namespace WebKit |