Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index e5742f0ce3e9cb0167fe29afc929d1f327783bfc..9e632dea57b2b2903ded55f388459ac674a8e842 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -1482,7 +1482,7 @@ bool WebFrameImpl::find(int identifier, const WebString& searchText, const WebFi |
else |
setMarkerActive(m_activeMatch.get(), false); |
- if (m_activeMatch && m_activeMatch->ownerDocument() != frame()->document()) |
+ if (m_activeMatch && &m_activeMatch->ownerDocument() != frame()->document()) |
m_activeMatch = 0; |
// If the user has selected something since the last Find operation we want |