Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index d1665c44f9dc79cdbb7b26f541b960f10c21c172..dbbe55971ec3d6d595a5e84cab7c621923a3fb15 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -1485,7 +1485,9 @@ bool WebFrameImpl::find(int identifier, const WebString& searchText, const WebFi |
const FindOptions findOptions = (options.forward ? 0 : Backwards) |
| (options.matchCase ? 0 : CaseInsensitive) |
| (wrapWithinFrame ? WrapAround : 0) |
- | (!options.findNext ? StartInSelection : 0); |
+ | (options.wordStart ? AtWordStarts : 0) |
+ | (options.medialCapitalAsWordStart ? TreatMedialCapitalAsWordStart : 0) |
+ | (options.findNext ? 0 : StartInSelection); |
m_activeMatch = frame()->editor().findStringAndScrollToVisible(searchText, m_activeMatch.get(), findOptions); |
if (!m_activeMatch) { |