Bug 1431601 - Fix the comment for nsIDOMWindowUtils.getViewportInfo. r=botond
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Mon, 15 Oct 2018 23:53:42 +0000
changeset 489746 930561bbe55d1baaee2d2fde6fb4119e86fce70e
parent 489745 ecc77355ba3ecc4ff1e9e8b8053356724b02428c
child 489747 4a79571c40a0ccb9cc0693fbd9ac46f22e2be84d
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbotond
bugs1431601
milestone64.0a1
Bug 1431601 - Fix the comment for nsIDOMWindowUtils.getViewportInfo. r=botond nsContentUtils::GetViewportInfo was removed and the comment for the function was moved to nsIDocument::GetViewportInfo in https://hg.mozilla.org/mozilla-central/rev/37d64688bf9d Depends on D8316 Differential Revision: https://phabricator.services.mozilla.com/D8317
dom/interfaces/base/nsIDOMWindowUtils.idl
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -110,17 +110,17 @@ interface nsIDOMWindowUtils : nsISupport
 
   /**
    * Get the last used layer transaction id for this window's refresh driver.
    */
   readonly attribute unsigned long long lastTransactionId;
 
   /**
    * Information retrieved from the <meta name="viewport"> tag.
-   * See nsContentUtils::GetViewportInfo for more information.
+   * See nsIDocument::GetViewportInfo for more information.
    */
   void getViewportInfo(in uint32_t aDisplayWidth, in uint32_t aDisplayHeight,
                        out double aDefaultZoom, out boolean aAllowZoom,
                        out double aMinZoom, out double aMaxZoom,
                        out uint32_t aWidth, out uint32_t aHeight,
                        out boolean aAutoSize);
 
   /**