author | Lucas Rocha <lucasr@mozilla.com> |
Fri, 19 Aug 2011 15:40:39 +0200 | |
changeset 75535 | d103df4833c4f032085c051355a0ee5d917cdcb6 |
parent 75534 | 55377b8a385a322d6bba26543159b3ba80836251 |
child 75536 | bac63bffbc15af42f8b2bfe1fd87df78d1fce3d5 |
push id | 1337 |
push user | Ms2ger@gmail.com |
push date | Fri, 19 Aug 2011 13:44:20 +0000 |
treeherder | mozilla-inbound@79399ce1a1fb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mbrubeck |
bugs | 676321 |
milestone | 9.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/mobile/chrome/content/ContentPopupHelper.js +++ b/mobile/chrome/content/ContentPopupHelper.js @@ -88,20 +88,20 @@ var ContentPopupHelper = { event.initEvent("contentpopuphidden", true, false); this._popup.dispatchEvent(event); } this._popup = aPopup; }, /** - * This method positioned an arrowbox on the screen using a 'virtual' + * This method positions an arrowbox on the screen using a 'virtual' * element as referrer that match the real content element - * This method called element.getBoundingClientRect() many times and can be - * expensive, do not called it too many times. + * This method calls element.getBoundingClientRect() many times and can be + * expensive, do not call it too many times. */ anchorTo: function(aAnchorRect) { let popup = this._popup; if (!popup) return; // Use the old rect until we get a new one this._anchorRect = aAnchorRect ? aAnchorRect : this._anchorRect;