summaryrefslogtreecommitdiffstats
path: root/toolkit/components
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-29 11:25:58 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-29 11:25:58 +0200
commitd873bd96953a6c8de8a9355e330400e0799db661 (patch)
treea90c8c90e9e6a495038fa1c4242b9855f7843ef8 /toolkit/components
parent50062bdfc004c8e24e3344ffe6991894ee0e6d09 (diff)
downloadUXP-d873bd96953a6c8de8a9355e330400e0799db661.tar
UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.gz
UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.lz
UXP-d873bd96953a6c8de8a9355e330400e0799db661.tar.xz
UXP-d873bd96953a6c8de8a9355e330400e0799db661.zip
Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217
Diffstat (limited to 'toolkit/components')
-rw-r--r--toolkit/components/typeaheadfind/nsTypeAheadFind.cpp2
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)