зеркало из https://github.com/mozilla/pjs.git
Bug 300105 The found link doesn't have pseudo-focus in FAYT on frame page r+sr=bzbarsky, a=asa
This commit is contained in:
Родитель
c4cf7d4988
Коммит
72a327c669
|
@ -4501,11 +4501,12 @@ nsEventStateManager::GetDocSelectionLocation(nsIContent **aStartContent,
|
|||
*aStartContent = *aEndContent = nsnull;
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
NS_ASSERTION(mPresContext, "mPresContent is null!!");
|
||||
EnsureDocument(mPresContext);
|
||||
if (!mDocument)
|
||||
return rv;
|
||||
nsIPresShell *shell = nsnull;
|
||||
if (mPresContext)
|
||||
shell = mPresContext->GetPresShell();
|
||||
nsIPresShell *shell;
|
||||
shell = mPresContext->GetPresShell();
|
||||
|
||||
nsIFrameSelection *frameSelection = nsnull;
|
||||
if (shell)
|
||||
|
|
Загрузка…
Ссылка в новой задаче