Bug 1220822 follow-up - Fix typo in nsINode::OwnerDoc() documention. r=mats
authorJonathan Watt <jwatt@jwatt.org>
Mon, 29 Feb 2016 23:46:51 +0000
changeset 310943 5bcb60614d0149f744ead7dfc351f37358b5960b
parent 310942 a715499846d42dd710272c342ff093ba861a957a
child 310944 070e28f591b68baa2faf93c69b7f191ead4a6f02
push id9480
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 17:12:58 +0000
treeherdermozilla-aurora@0d6a91c76a9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs1220822
milestone47.0a1
Bug 1220822 follow-up - Fix typo in nsINode::OwnerDoc() documention. r=mats MozReview-Commit-ID: Gs9p5UTjqZQ
dom/base/nsINode.h
--- a/dom/base/nsINode.h
+++ b/dom/base/nsINode.h
@@ -481,17 +481,17 @@ public:
    *
    * Note that in the case that this node is a document node this method
    * will return |this|.  That is different to the Node.ownerDocument DOM
    * attribute (implemented by nsINode::GetOwnerDocument) which is specified to
    * be null in that case:
    *
    * https://dom.spec.whatwg.org/#dom-node-ownerdocument
    *
-   * For all other cases GetOwnerDoc and GetOwnerDocument behave identically.
+   * For all other cases OwnerDoc and GetOwnerDocument behave identically.
    */
   nsIDocument *OwnerDoc() const
   {
     return mNodeInfo->GetDocument();
   }
 
   /**
    * Return the "owner document" of this node as an nsINode*.  Implemented