Bug 618183 - TypeAheadFind object is kept alive too long, r=jst, a=blocking

This commit is contained in:
Olli Pettay 2010-12-29 10:11:26 +02:00
parent 57043c354f
commit cfca716489

View File

@ -140,7 +140,7 @@ nsTypeAheadFind::Init(nsIDocShell* aDocShell)
SetDocShell(aDocShell);
// ----------- Listen to prefs ------------------
nsresult rv = prefInternal->AddObserver("accessibility.browsewithcaret", this, PR_FALSE);
nsresult rv = prefInternal->AddObserver("accessibility.browsewithcaret", this, PR_TRUE);
NS_ENSURE_SUCCESS(rv, rv);
// ----------- Get initial preferences ----------