Attempt to fix odd bustage on btek

This commit is contained in:
aaronleventhal%moonset.net 2006-08-16 15:05:08 +00:00
parent 1d1f80250c
commit 9aff71010d

View File

@ -204,7 +204,7 @@ nsIntRect nsHyperTextAccessible::GetBoundsForString(nsIFrame *aFrame, PRInt32 aS
&startOffsetInFrame, &frame);
NS_ENSURE_SUCCESS(rv, screenRect);
nsIPresShell *shell = frame->GetPresContext()->GetPresShell();
nsCOMPtr<nsIPresShell> shell = GetPresShell();
NS_ENSURE_TRUE(shell, screenRect);
nsCOMPtr<nsIRenderingContext> rc;