Changeset 77104 in webkit
- Timestamp:
- Jan 30, 2011 8:06:43 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r77102 r77104 1 2011-01-30 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 [Take 2!] 6 Fixed crash on window close (maybe crash on launch?) due to missing frame null checks 7 https://bugs.webkit.org/show_bug.cgi?id=53408 8 9 * UIProcess/WebContext.cpp: 10 (WebKit::WebContext::didNavigateWithNavigationData): 11 (WebKit::WebContext::didPerformClientRedirect): 12 (WebKit::WebContext::didPerformServerRedirect): 13 (WebKit::WebContext::didUpdateHistoryTitle): Use MESSAGE_CHECK because 14 we don't think we should be able to reach this state under normal conditions. 15 1 16 2011-01-30 Geoffrey Garen <ggaren@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r77102 r77104 53 53 #endif 54 54 55 #define MESSAGE_CHECK(assertion) MESSAGE_CHECK_BASE(assertion, process()->connection()) 56 55 57 using namespace WebCore; 56 58 … … 300 302 { 301 303 WebFrameProxy* frame = m_process->webFrame(frameID); 302 if (!frame || !frame->page()) 304 MESSAGE_CHECK(frame); 305 if (!frame->page()) 303 306 return; 304 307 … … 309 312 { 310 313 WebFrameProxy* frame = m_process->webFrame(frameID); 311 if (!frame || !frame->page()) 314 MESSAGE_CHECK(frame); 315 if (!frame->page()) 312 316 return; 313 317 … … 318 322 { 319 323 WebFrameProxy* frame = m_process->webFrame(frameID); 320 if (!frame || !frame->page()) 324 MESSAGE_CHECK(frame); 325 if (!frame->page()) 321 326 return; 322 327 … … 327 332 { 328 333 WebFrameProxy* frame = m_process->webFrame(frameID); 329 if (!frame || !frame->page()) 334 MESSAGE_CHECK(frame); 335 if (!frame->page()) 330 336 return; 331 337
Note: See TracChangeset
for help on using the changeset viewer.