Index: content/browser/renderer_host/render_widget_host.cc |
=================================================================== |
--- content/browser/renderer_host/render_widget_host.cc (revision 109889) |
+++ content/browser/renderer_host/render_widget_host.cc (working copy) |
@@ -209,7 +209,7 @@ |
OnMsgDidActivateAcceleratedCompositing) |
IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnMsgLockMouse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnMsgUnlockMouse) |
-#if defined(OS_POSIX) |
+#if defined(OS_POSIX) || defined(USE_AURA) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetScreenInfo, OnMsgGetScreenInfo) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetWindowRect, OnMsgGetWindowRect) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetRootWindowRect, OnMsgGetRootWindowRect) |
@@ -1222,7 +1222,7 @@ |
RejectMouseLockOrUnlockIfNecessary(); |
} |
-#if defined(OS_POSIX) |
+#if defined(OS_POSIX) || defined(USE_AURA) |
void RenderWidgetHost::OnMsgGetScreenInfo(gfx::NativeViewId window_id, |
WebKit::WebScreenInfo* results) { |
if (view_) |