| Index: third_party/WebKit/Source/web/TextFinder.cpp
|
| diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp
|
| index 65e476d2471022e7ea0173479d2fe8755a2e0bcd..7fd1db6032c3ba42c1a40bff96e934d7b7e55391 100644
|
| --- a/third_party/WebKit/Source/web/TextFinder.cpp
|
| +++ b/third_party/WebKit/Source/web/TextFinder.cpp
|
| @@ -131,7 +131,7 @@ bool TextFinder::find(int identifier,
|
| .computeVisibleSelectionInDOMTreeDeprecated());
|
| bool activeSelection = !selection.isNone();
|
| if (activeSelection) {
|
| - m_activeMatch = firstRangeOf(selection);
|
| + m_activeMatch = createRange(firstEphemeralRangeOf(selection));
|
| ownerFrame().frame()->selection().clear();
|
| }
|
|
|
|
|