From d873bd96953a6c8de8a9355e330400e0799db661 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 29 May 2019 11:25:58 +0200 Subject: Make nsFind::Find actually use a string type as input. Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217 --- toolkit/components/typeaheadfind/nsTypeAheadFind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp b/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp index 674681581..53b1ef66d 100644 --- a/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp +++ b/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp @@ -420,7 +420,7 @@ nsTypeAheadFind::FindItNow(nsIPresShell *aPresShell, bool aIsLinksOnly, while (true) { // ----- Outer while loop: go through all docs ----- while (true) { // === Inner while loop: go through a single doc === - mFind->Find(mTypeAheadBuffer.get(), mSearchRange, mStartPointRange, + mFind->Find(mTypeAheadBuffer, mSearchRange, mStartPointRange, mEndPointRange, getter_AddRefs(returnRange)); if (!returnRange) -- cgit v1.2.3