Bug 577579 - Fix event breakage from bug 130078 [r=roc,mbrubeck]
authorTimothy Nikkel <tnikkel@gmail.com>
Fri, 27 Aug 2010 15:11:00 -0700
changeset 66513 e82d77267c6ae8ca752e055aac262b236ef3eb1d
parent 66512 33d5b3031cd5892073a0d136be0099164dc32003
child 66514 2e5294ed605b658c4191e763a526a5905cf770d5
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, mbrubeck
bugs577579, 130078
Bug 577579 - Fix event breakage from bug 130078 [r=roc,mbrubeck]
mobile/chrome/content/content.js
--- a/mobile/chrome/content/content.js
+++ b/mobile/chrome/content/content.js
@@ -595,17 +595,17 @@ Content.prototype = {
         let point = (new Rect(rect.left, rect.top, rect.width, rect.height)).center();
         aX = point.x;
         aY = point.y;
       }
     }
 
     let scrollOffset = Util.getScrollOffset(content);
     let windowUtils = Util.getWindowUtils(content);
-    windowUtils.sendMouseEvent(aName, aX - scrollOffset.x, aY - scrollOffset.y, 0, 1, 0, true);
+    windowUtils.sendMouseEventToWindow(aName, aX - scrollOffset.x, aY - scrollOffset.y, 0, 1, 0, true);
   },
 
   startLoading: function startLoading() {
     this._contextTimeout.clear();
     this._overlayTimeout.clear();
     this._loading = true;
     this._coalescer.start();
   },