Changeset 77102 in webkit
- Timestamp:
- Jan 30, 2011 7:36:07 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r77092 r77102 1 2011-01-30 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Fixed crash on window close (maybe crash on launch?) due to missing 6 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): Check for NULL, since we're 14 calling a function that can return it. 15 1 16 2011-01-30 Balazs Kelemen <kbalazs@webkit.org> 2 17 -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r76916 r77102 300 300 { 301 301 WebFrameProxy* frame = m_process->webFrame(frameID); 302 if (!frame ->page())302 if (!frame || !frame->page()) 303 303 return; 304 304 … … 309 309 { 310 310 WebFrameProxy* frame = m_process->webFrame(frameID); 311 if (!frame ->page())311 if (!frame || !frame->page()) 312 312 return; 313 313 … … 318 318 { 319 319 WebFrameProxy* frame = m_process->webFrame(frameID); 320 if (!frame ->page())320 if (!frame || !frame->page()) 321 321 return; 322 322 … … 327 327 { 328 328 WebFrameProxy* frame = m_process->webFrame(frameID); 329 if (!frame ->page())329 if (!frame || !frame->page()) 330 330 return; 331 331
Note: See TracChangeset
for help on using the changeset viewer.