| Index: chrome/browser/renderer_host/render_view_host.cc
|
| diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
|
| index c06d4fa94369bb88df36aa1f6a2bd498516e20f6..764bfdcfb5e9e2b862678fc97c4e4b1b69c36b55 100644
|
| --- a/chrome/browser/renderer_host/render_view_host.cc
|
| +++ b/chrome/browser/renderer_host/render_view_host.cc
|
| @@ -671,10 +671,11 @@ bool RenderViewHost::SuddenTerminationAllowed() const {
|
| // RenderViewHost, IPC message handlers:
|
|
|
| void RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
|
| -#if !defined(OS_LINUX)
|
| +#if defined(OS_WIN)
|
| // On Windows there's a potential deadlock with sync messsages going in
|
| // a circle from browser -> plugin -> renderer -> browser.
|
| // On Linux we can avoid this by avoiding sync messages from browser->plugin.
|
| + // On Mac we avoid this by not supporting windowed plugins.
|
| if (msg.is_sync() && !msg.is_caller_pumping_messages()) {
|
| NOTREACHED() << "Can't send sync messages to UI thread without pumping "
|
| "messages in the renderer or else deadlocks can occur if the page "
|
|
|