Fix miscellaneous typos in comments that I've had in my tree for ages.

This commit is contained in:
L. David Baron 2009-04-22 10:13:48 -07:00
Родитель b855d65768
Коммит 69c05abf68
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -230,7 +230,8 @@ NS_NewXULPrototypeDocument(nsXULPrototypeDocument** aResult)
// 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.

Просмотреть файл

@ -142,7 +142,7 @@ BRFrame::Reflow(nsPresContext* aPresContext,
// 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;
aReflowState.rendContext->GetFontMetrics(*getter_AddRefs(fm));