Bug 169297 caret becomes invisible when switching windows if it's not in linked content

r=aaronl, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@161519 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kyle.yuan%sun.com
2004-08-31 02:10:59 +00:00
parent b0812d2dfa
commit d48d3bdb25

View File

@@ -4878,9 +4878,6 @@ nsEventStateManager::ResetBrowseWithCaret()
PRPackedBool browseWithCaret =
nsContentUtils::GetBoolPref("accessibility.browsewithcaret");
if (mBrowseWithCaret == browseWithCaret)
return; // already set this way, don't change caret at all
mBrowseWithCaret = browseWithCaret;
nsIPresShell *presShell = mPresContext->GetPresShell();