Swicth to bubbling mouse events mobile
authormark.finkle@gmail.com
Wed, 21 May 2008 15:12:08 -0400
branchmobile
changeset 64714 008aaff8abfa251eaa16b7880f2e96c400d3b699
parent 64713 dade444b8ca16997a91c3b653cc32f0e1b689c18
child 64715 7613d50cb838f4446da07bba80dded404647ae73
push id19389
push userffxbld
push dateWed, 06 Apr 2011 21:33:21 +0000
treeherdermozilla-central@8e9f90073a20 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Swicth to bubbling mouse events
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -425,19 +425,19 @@ MouseController.prototype = {
   _browser: null,
   _contextID : null,
   _mousedown : false,
   _panning : false,
 
   init: function(aBrowser)
   {
     this._browser = aBrowser;
-    this._browser.addEventListener("mousedown", this, true);
-    this._browser.addEventListener("mouseup",this, true);
-    this._browser.addEventListener("mousemove", this, true);
+    this._browser.addEventListener("mousedown", this, false);
+    this._browser.addEventListener("mouseup",this, false);
+    this._browser.addEventListener("mousemove", this, false);
   },
 
   handleEvent: function(aEvent)
   {
     if (!aEvent.type in this)
       dump("MouseController called with unknown event type " + aEvent.type + "\n");
     this[aEvent.type](aEvent);
   },