Changeset 100218 in webkit
- Timestamp:
- Nov 14, 2011 4:57:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/912/Source/WebCore/loader/cache/CachedResourceRequest.cpp
r97637 r100218 272 272 return; 273 273 274 if (m_resource->response().httpStatusCode() >= 400) { 275 if (!m_resource->shouldIgnoreHTTPStatusCodeErrors()) 276 m_resource->error(CachedResource::LoadError); 274 if (m_resource->response().httpStatusCode() >= 400 && !m_resource->shouldIgnoreHTTPStatusCodeErrors()) { 275 // Prevent the document from being destroyed before we are done with 276 // the cachedResourceLoader that it will delete when the document gets deleted. 277 RefPtr<Document> protector(m_cachedResourceLoader->document()); 278 if (!m_multipart) 279 m_cachedResourceLoader->decrementRequestCount(m_resource); 280 m_finishing = true; 281 m_loader->clearClient(); 282 m_resource->error(CachedResource::LoadError); 283 end(); 277 284 return; 278 285 }
Note: See TracChangeset
for help on using the changeset viewer.