зеркало из https://github.com/mozilla/gecko-dev.git
Bug 743279 - Minor code cleanups. r=wesj
This commit is contained in:
Родитель
96918c8e37
Коммит
8f57259680
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче