Bug 1042631: Bustage fix for typo when resolving nits rs=bustage
authorRandell Jesup <rjesup@jesup.org>
Tue, 19 Jul 2016 17:13:01 -0400
changeset 330813 6765609dcb46095329ddab3c8791564a44e994c0
parent 330812 dbbe25db2d61505c8a6c8561412b4b204ad30257
child 330814 b1a5c29d781b6ba6222f4be26094e4c8ae8d8943
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1042631
milestone50.0a1
Bug 1042631: Bustage fix for typo when resolving nits rs=bustage
media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc
--- a/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc
+++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc
@@ -148,17 +148,17 @@ void MouseCursorMonitorX11::Capture() {
     int root_y;
     int win_x;
     int win_y;
     Window root_window;
     Window child_window;
     unsigned int mask;
 
     XErrorTrap error_trap(display());
-    Bool result = XQueryPointer(display(), inner_window, &root_window, &child_window,
+    Bool result = XQueryPointer(display(), inner_window_, &root_window, &child_window,
                                 &root_x, &root_y, &win_x, &win_y, &mask);
     CursorState state;
     if (!result || error_trap.GetLastErrorAndDisable() != 0) {
       state = OUTSIDE;
     } else {
       // In screen mode (window_ == root_window) the mouse is always inside.
       // XQueryPointer() sets |child_window| to None if the cursor is outside
       // |window_|.