Bug 743279 - Minor code cleanups. r=wesj

This commit is contained in:
Kartikaya Gupta 2012-05-17 12:18:53 -04:00
Родитель 96918c8e37
Коммит 8f57259680
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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,