Index: content/browser/renderer_host/render_message_filter.cc |
=================================================================== |
--- content/browser/renderer_host/render_message_filter.cc (revision 109708) |
+++ content/browser/renderer_host/render_message_filter.cc (working copy) |
@@ -307,12 +307,14 @@ |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP_EX(RenderMessageFilter, message, *message_was_ok) |
#if defined(OS_WIN) |
+#if !defined(USE_AURA) |
// On Windows, we handle these on the IO thread to avoid a deadlock with |
// plugins. On non-Windows systems, we need to handle them on the UI |
// thread. |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetScreenInfo, OnGetScreenInfo) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetWindowRect, OnGetWindowRect) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetRootWindowRect, OnGetRootWindowRect) |
+#endif |
// This hack is Windows-specific. |
IPC_MESSAGE_HANDLER(ChildProcessHostMsg_PreCacheFont, OnPreCacheFont) |