Fix miscellaneous typos in comments that I've had in my tree for ages.
authorL. David Baron <>
Wed, 22 Apr 2009 10:13:48 -0700
changeset 27627 96691981f65f5b0c3c2eb7792d4d602e3fb1dc3e
parent 27626 5267ab4402c90a0824148644d5a4b0fde38d70de
child 27628 bec6ecc85632404e890d0df4cb52efbac4100090
push id6662
push dateWed, 22 Apr 2009 17:15:48 +0000
treeherdermozilla-central@6049dbd9973c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Fix miscellaneous typos in comments that I've had in my tree for ages.
--- a/content/xul/document/src/nsXULPrototypeDocument.cpp
+++ b/content/xul/document/src/nsXULPrototypeDocument.cpp
@@ -225,17 +225,18 @@ NS_NewXULPrototypeDocument(nsXULPrototyp
     return rv;
 // Helper method that shares a system global among all prototype documents
 // that have the system principal as their security principal.   Called by
-// nsXULPrototypeDocument::Read and nsXULPDGlobalObject::GetGlobalObject.
+// nsXULPrototypeDocument::Read and
+// nsXULPrototypeDocument::GetScriptGlobalObject.
 // This method greatly reduces the number of nsXULPDGlobalObjects and their
 // nsIScriptContexts in apps that load many XUL documents via chrome: URLs.
 nsXULPDGlobalObject *
     // Now compare DocumentPrincipal() to gSystemPrincipal, in order to create
     // gSystemGlobal if the two pointers are equal.  Thus, gSystemGlobal
--- a/layout/generic/nsBRFrame.cpp
+++ b/layout/generic/nsBRFrame.cpp
@@ -137,17 +137,17 @@ BRFrame::Reflow(nsPresContext* aPresCont
       // creates some vertical whitespace.  It's necessary to use the
       // line-height rather than the font size because the
       // quirks-mode fix that doesn't apply the block's min
       // line-height makes this necessary to make BR cause a line
       // of the full line-height
       // We also do this in strict mode because BR should act like a
       // normal inline frame.  That line-height is used is important
-      // here for cases where the line-height is less that 1.
+      // here for cases where the line-height is less than 1.
       nsLayoutUtils::SetFontFromStyle(aReflowState.rendContext, mStyleContext);
       nsCOMPtr<nsIFontMetrics> fm;
       if (fm) {
         nscoord ascent, descent;
         nscoord logicalHeight = aReflowState.CalcLineHeight(this);