Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 35f082f93ee99b928d653887af87700bbf045d59..0711e392b1cba2555890275d249f94c221d88b5b 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1974,7 +1974,7 @@ void WebLocalFrameImpl::didCallIsSearchProviderInstalled() |
void WebLocalFrameImpl::requestFind(int identifier, const WebString& searchText, const WebFindOptions& options) |
{ |
// Send "no results" if this frame has no visible content. |
- if (!hasVisibleContent()) { |
+ if (!hasVisibleContent() && !options.force) { |
client()->reportFindInPageMatchCount(identifier, 0 /* count */, true /* finalUpdate */); |
return; |
} |