Changeset 63841 in webkit
- Timestamp:
- Jul 21, 2010 10:44:36 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r63810 r63841 1 2010-07-21 Finnur Thorarinsson <finnur.webkit@gmail.com> 2 3 Reviewed by Dimitri Glazkov. 4 5 Avoid crashing during find-in-page when |view| is NULL. 6 https://bugs.webkit.org/show_bug.cgi?id=42760 7 8 There are no layout tests because we don't have a repro case 9 to work with, so this is a speculative fix based on crash dump 10 diagnosis. See bug for details. 11 12 * src/WebFrameImpl.cpp: 13 (WebKit::WebFrameImpl::shouldScopeMatches): 14 1 15 2010-07-21 Hans Wennborg <hans@chromium.org> 2 16 -
trunk/WebKit/chromium/src/WebFrameImpl.cpp
r62770 r63841 2102 2102 bool WebFrameImpl::shouldScopeMatches(const String& searchText) 2103 2103 { 2104 // Don't scope if we can't find a frame or if the frame is not visible.2104 // Don't scope if we can't find a frame or a view or if the frame is not visible. 2105 2105 // The user may have closed the tab/application, so abort. 2106 if (!frame() || ! hasVisibleContent())2106 if (!frame() || !frame()->view() || !hasVisibleContent()) 2107 2107 return false; 2108 2108
Note: See TracChangeset
for help on using the changeset viewer.