Changeset 52112 in webkit
- Timestamp:
- Dec 14, 2009 12:49:51 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52108 r52112 1 2009-12-14 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] crash when clicking "Sign out" in GMail 6 https://bugs.webkit.org/show_bug.cgi?id=32300 7 8 When the ResourceLoader cancels the handle we have to make sure not to access 9 the resource handle afterwards again. 10 This complete r29515 11 12 * platform/network/qt/QNetworkReplyHandler.cpp: 13 (WebCore::QNetworkReplyHandler::sendResponseIfNeeded): 14 1 15 2009-12-14 Alexander Pavlov <apavlov@chromium.org> 2 16 -
trunk/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r52089 r52112 321 321 QUrl redirection = m_reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl(); 322 322 if (redirection.isValid()) { 323 m_redirected = true; 324 323 325 QUrl newUrl = m_reply->url().resolved(redirection); 324 326 ResourceRequest newRequest = m_resourceHandle->request(); … … 335 337 336 338 client->willSendRequest(m_resourceHandle, newRequest, response); 337 m_redirected = true; 339 if (!m_resourceHandle) // network error did cancel the request 340 return; 341 338 342 m_request = newRequest.toNetworkRequest(m_resourceHandle->getInternal()->m_frame); 339 343 return;
Note: See TracChangeset
for help on using the changeset viewer.