Bug 844328 - Silence debug warning about _onTouchStart return value [r=jimm]
☠☠ backed out by 2da4ecd0b47d ☠ ☠
authorMatt Brubeck <mbrubeck@mozilla.com>
Mon, 25 Feb 2013 11:08:25 -0800
changeset 122931 b1cd489945f5a4ac4947d2e8be7a6abef418e624
parent 122930 86a5cbda14e92b998f285ccc89f4f97936c9cfe2
child 122932 e8202e140fd834f77a07b46bc0340fbe0ce0ec56
push id1387
push userphilringnalda@gmail.com
push dateTue, 26 Feb 2013 22:32:56 +0000
treeherderfx-team@ad4cc4e97774 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs844328
milestone22.0a1
Bug 844328 - Silence debug warning about _onTouchStart return value [r=jimm]
browser/metro/base/content/input.js
--- a/browser/metro/base/content/input.js
+++ b/browser/metro/base/content/input.js
@@ -214,17 +214,17 @@ var TouchModule = {
     // stop kinetic panning if targetScrollbox has changed
     if (this._kinetic.isActive() && this._dragger != dragger)
       this._kinetic.end();
 
     this._targetScrollbox = targetScrollInterface ? targetScrollInterface.element : targetScrollbox;
     this._targetScrollInterface = targetScrollInterface;
 
     if (!this._targetScrollbox) {
-      return false;
+      return;
     }
 
     // XXX shouldn't dragger always be valid here?
     if (dragger) {
       let draggable = dragger.isDraggable(targetScrollbox, targetScrollInterface);
       dragData.locked = !draggable.x || !draggable.y;
       if (draggable.x || draggable.y) {
         this._dragger = dragger;