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 b7e0ad56355e5b05bea78a3d1dccd05d3c81fa03..d1e321fa6ad1ae7d6433bd00505c3359105839ec 100644 |
--- a/chrome/browser/renderer_host/render_view_host.cc |
+++ b/chrome/browser/renderer_host/render_view_host.cc |
@@ -671,6 +671,7 @@ bool RenderViewHost::SuddenTerminationAllowed() const { |
// RenderViewHost, IPC message handlers: |
void RenderViewHost::OnMessageReceived(const IPC::Message& msg) { |
+#if defined(OS_WIN) |
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 " |
@@ -680,6 +681,7 @@ void RenderViewHost::OnMessageReceived(const IPC::Message& msg) { |
Send(reply); |
return; |
} |
+#endif |
bool msg_is_ok = true; |
IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHost, msg, msg_is_ok) |