Commit 8f572596 authored by Kartikaya Gupta's avatar Kartikaya Gupta
Browse files

Bug 743279 - Minor code cleanups. r=wesj

parent 96918c8e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2915,7 +2915,7 @@ const ElementTouchHelper = {
      aX -= rect.left;
      aY -= rect.top;
      cwu = elem.contentDocument.defaultView.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
      elem = ElementTouchHelper.getClosest(cwu, aX, aY);
      elem = this.getClosest(cwu, aX, aY);
    }

    return elem;
@@ -2954,7 +2954,7 @@ const ElementTouchHelper = {
    if (this.isElementClickable(target, unclickableCache))
      return target;

    let target = null;
    target = null;
    let nodes = aWindowUtils.nodesFromRect(aX, aY, this.radius.top * dpiRatio,
                                                   this.radius.right * dpiRatio,
                                                   this.radius.bottom * dpiRatio,