зеркало из https://github.com/mozilla/pjs.git
Fix miscellaneous typos in comments that I've had in my tree for ages.
This commit is contained in:
Родитель
b855d65768
Коммит
69c05abf68
|
@ -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));
|
||||
|
|
Загрузка…
Ссылка в новой задаче