Bug 676321 - Fix the phrasing of explanatory comment on ContentPopupHelper's anchorTo() (r=mbrubeck)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 19 Aug 2011 15:40:39 +0200
changeset 75558 d103df4833c4f032085c051355a0ee5d917cdcb6
parent 75557 55377b8a385a322d6bba26543159b3ba80836251
child 75559 bac63bffbc15af42f8b2bfe1fd87df78d1fce3d5
push id21040
push userbmo@edmorley.co.uk
push dateSun, 21 Aug 2011 18:16:59 +0000
treeherdermozilla-central@482742e6fff7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs676321
milestone9.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
Bug 676321 - Fix the phrasing of explanatory comment on ContentPopupHelper's anchorTo() (r=mbrubeck)
mobile/chrome/content/ContentPopupHelper.js
--- 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;