Changeset 83474 in webkit
- Timestamp:
- Apr 11, 2011 12:14:57 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r83472 r83474 1 2011-04-11 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Crash in WebPageProxy::countStringMatches 6 https://bugs.webkit.org/show_bug.cgi?id=58255 7 <rdar://problem/9243837> 8 9 * UIProcess/WebPageProxy.cpp: 10 (WebKit::WebPageProxy::countStringMatches): 11 Return early if the page is not valid. 12 1 13 2011-04-11 Sam Weinig <sam@webkit.org> 2 14 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r83460 r83474 1151 1151 void WebPageProxy::countStringMatches(const String& string, FindOptions options, unsigned maxMatchCount) 1152 1152 { 1153 if (m_mainFrameHasCustomRepresentation) 1153 if (m_mainFrameHasCustomRepresentation) { 1154 1154 m_pageClient->countStringMatchesInCustomRepresentation(string, options, maxMatchCount); 1155 else 1156 process()->send(Messages::WebPage::CountStringMatches(string, options, maxMatchCount), m_pageID); 1155 return; 1156 } 1157 1158 if (!isValid()) 1159 return; 1160 1161 process()->send(Messages::WebPage::CountStringMatches(string, options, maxMatchCount), m_pageID); 1157 1162 } 1158 1163
Note: See TracChangeset
for help on using the changeset viewer.