diff --git a/content/base/src/nsDocumentEncoder.cpp b/content/base/src/nsDocumentEncoder.cpp index f58425615c0b..1849486f7a0a 100644 --- a/content/base/src/nsDocumentEncoder.cpp +++ b/content/base/src/nsDocumentEncoder.cpp @@ -1385,7 +1385,7 @@ nsHTMLCopyEncoder::PromoteAncestorChain(nsCOMPtr *ioNode, else { // passing parent as last param to GetPromotedPoint() allows it to promote only one level - // up the heirarchy. + // up the hierarchy. rv = GetPromotedPoint( kStart, *ioNode, *ioStartOffset, address_of(frontNode), &frontOffset, parent); NS_ENSURE_SUCCESS(rv, rv); // then we make the same attempt with the endpoint