mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 05:05:29 +00:00
Attempt to fix odd bustage on btek
This commit is contained in:
parent
1d1f80250c
commit
9aff71010d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user