Changeset 170674 in webkit
- Timestamp:
- Jul 1, 2014 4:22:03 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r170673 r170674 1 2014-07-01 Dan Bernstein <mitz@apple.com> 2 3 Crash in WebDocumentLoader::setNavigationID 4 https://bugs.webkit.org/show_bug.cgi?id=134520 5 6 Reviewed by Anders Carlsson. 7 8 * WebProcess/WebPage/WebFrame.cpp: 9 (WebKit::WebFrame::didReceivePolicyDecision): Null-check the policy document loader. 10 1 11 2014-07-01 Dan Bernstein <mitz@apple.com> 2 12 -
trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp
r170660 r170674 236 236 m_policyDownloadID = downloadID; 237 237 if (navigationID) { 238 WebDocumentLoader& documentLoader = static_cast<WebDocumentLoader&>(*m_coreFrame->loader().policyDocumentLoader());239 documentLoader.setNavigationID(navigationID);238 if (WebDocumentLoader* documentLoader = static_cast<WebDocumentLoader*>(m_coreFrame->loader().policyDocumentLoader())) 239 documentLoader->setNavigationID(navigationID); 240 240 } 241 241
Note: See TracChangeset
for help on using the changeset viewer.