nsGlobalHistory::AutoCompleteEnumerator::IsResult should use nsAutoString and nsCAutoString to avoid heap allocations. The same is true for other places in the same class.
already have a fix for this in my tree as a part of bug 71903
fix from bug 71903 checked in
Checked the code. Now there's auto strings there -> VERIFIED.