Bug 724709 - Bring EnsureTextRun docs up to date. r=roc DONTBUILD

This commit is contained in:
Cameron McCormack 2012-02-07 10:37:08 +11:00
parent 8d77fcd05c
commit 836b84312c
2 changed files with 9 additions and 5 deletions

View File

@ -2012,7 +2012,7 @@ PresShell::InitialReflow(nscoord aWidth, nscoord aHeight)
// Restore our root scroll position now if we're getting here after EndLoad
// got called, since this is our one chance to do it. Note that we need not
// have reflowed for this to work; when the scrollframe is finally reflowed
// it'll puick up the position we store in it here.
// it'll pick up the position we store in it here.
if (!mDocumentLoading) {
RestoreRootScrollPosition();
}

View File

@ -383,10 +383,14 @@ public:
/**
* Acquires the text run for this content, if necessary.
* @param aRC the rendering context to use as a reference for creating
* the textrun, if available (if not, we'll create one which will just be slower)
* @param aBlock the block ancestor for this frame, or nsnull if unknown
* @param aLine the line that this frame is on, if any, or nsnull if unknown
* @param aWhichTextRun indicates whether to get an inflated or non-inflated
* text run
* @param aInflation the text inflation scale
* @param aReferenceContext the rendering context to use as a reference for
* creating the textrun, if available (if not, we'll create one which will
* just be slower)
* @param aLineContainer the block ancestor for this frame, or nsnull if
* unknown
* @param aFlowEndInTextRun if non-null, this returns the textrun offset of
* end of the text associated with this frame and its in-flow siblings
* @return a gfxSkipCharsIterator set up to map DOM offsets for this frame