diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:25:58 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 11:25:58 +0200 |
commit | d873bd96953a6c8de8a9355e330400e0799db661 (patch) | |
tree | a90c8c90e9e6a495038fa1c4242b9855f7843ef8 /embedding/components/find/nsWebBrowserFind.cpp | |
parent | 50062bdfc004c8e24e3344ffe6991894ee0e6d09 (diff) | |
download | UXP-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 'embedding/components/find/nsWebBrowserFind.cpp')
-rw-r--r-- | embedding/components/find/nsWebBrowserFind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedding/components/find/nsWebBrowserFind.cpp b/embedding/components/find/nsWebBrowserFind.cpp index af44ce59b..aadc66f8e 100644 --- a/embedding/components/find/nsWebBrowserFind.cpp +++ b/embedding/components/find/nsWebBrowserFind.cpp @@ -751,7 +751,7 @@ nsWebBrowserFind::SearchInFrame(nsPIDOMWindowOuter* aWindow, bool aWrapping, NS_ENSURE_SUCCESS(rv, rv); - rv = find->Find(mSearchString.get(), searchRange, startPt, endPt, + rv = find->Find(mSearchString, searchRange, startPt, endPt, getter_AddRefs(foundRange)); if (NS_SUCCEEDED(rv) && foundRange) { |