| Index: Source/web/TextFinder.cpp
|
| diff --git a/Source/web/TextFinder.cpp b/Source/web/TextFinder.cpp
|
| index e7277a395beeb2516d4bf9ffffbef34dc808053f..060d446c65d9a3cb3d9b6d8d579cc5d88596f752 100644
|
| --- a/Source/web/TextFinder.cpp
|
| +++ b/Source/web/TextFinder.cpp
|
| @@ -134,7 +134,7 @@ bool TextFinder::find(int identifier, const WebString& searchText, const WebFind
|
| VisibleSelection selection(ownerFrame().frame()->selection().selection());
|
| bool activeSelection = !selection.isNone();
|
| if (activeSelection) {
|
| - m_activeMatch = selection.firstRange().get();
|
| + m_activeMatch = firstRangeOf(selection).get();
|
| ownerFrame().frame()->selection().clear();
|
| }
|
|
|
|
|