diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:25:58 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:54:34 +0200 |
commit | ae778efe5e16d688d3fea5411bd896f167986161 (patch) | |
tree | 3202656a890f3365ce421887632f0075cc5e754a /toolkit | |
parent | f3b1a919be9c55bdbbde6c9d009e3d8073495ae7 (diff) | |
download | UXP-ae778efe5e16d688d3fea5411bd896f167986161.tar UXP-ae778efe5e16d688d3fea5411bd896f167986161.tar.gz UXP-ae778efe5e16d688d3fea5411bd896f167986161.tar.lz UXP-ae778efe5e16d688d3fea5411bd896f167986161.tar.xz UXP-ae778efe5e16d688d3fea5411bd896f167986161.zip |
Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/components/typeaheadfind/nsTypeAheadFind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |