Changeset 128409 in webkit
- Timestamp:
- Sep 12, 2012 11:59:14 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r128403 r128409 1 2012-09-12 Leandro Gracia Gil <leandrogracia@chromium.org> 2 3 [Chromium] Fix cases where find-in-page doesn't send a final update 4 https://bugs.webkit.org/show_bug.cgi?id=96402 5 6 Fix some issues in the WebKit implementation that prevented to send a final 7 reportFindInPageMatchCount message. 8 9 Reviewed by Adam Barth. 10 11 * src/WebFrameImpl.cpp: 12 (WebKit::WebFrameImpl::scopeStringMatches): 13 (WebKit::WebFrameImpl::shouldScopeMatches): 14 1 15 2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp
r128403 r128409 1780 1780 bool reset) 1781 1781 { 1782 if (!shouldScopeMatches(searchText)) 1782 if (!shouldScopeMatches(searchText)) { 1783 increaseMatchCount(0, identifier); 1783 1784 return; 1785 } 1784 1786 1785 1787 WebFrameImpl* mainFrameImpl = viewImpl()->mainFrameImpl(); … … 2613 2615 bool WebFrameImpl::shouldScopeMatches(const String& searchText) 2614 2616 { 2615 // Don't scope if we can't find a frame or a view or if the frame is not visible.2617 // Don't scope if we can't find a frame or a view. 2616 2618 // The user may have closed the tab/application, so abort. 2617 if (!frame() || !frame()->view() || !hasVisibleContent())2619 if (!frame() || !frame()->view()) 2618 2620 return false; 2619 2621
Note: See TracChangeset
for help on using the changeset viewer.