-
beidson@apple.com authored
2008-03-26 Brady Eidson <beidson@apple.com> Reviewed by Mark Rowe Part of the continued push to move WebArchive-related code down to WebCore, this moves [WebDataSource subresourceForURL:] down to DocumentLoader->subresource() * WebCore.base.exp: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::subresource): Create an ArchiveResource from a CachedResource if it exists Otherwise, fallback to an ArchiveResource from the current Archive if any. Otherwise, return null * loader/DocumentLoader.h: * loader/archive/ArchiveResource.cpp: (WebCore::ArchiveResource::create): (WebCore::ArchiveResource::ArchiveResource): * loader/archive/ArchiveResource.h: WebKit/mac: 2008-03-26 Brady Eidson <beidson@apple.com> Reviewed by Mark Rowe Part of the continued push to move WebArchive-related code down to WebCore, this moves [WebDataSource subresourceForURL:] down to DocumentLoader->subresource() * WebView/WebDataSource.mm: (-[WebDataSource subresourceForURL:]): Call through to the DocumentLoader * WebView/WebFrame.mm: Remove [WebFrame _getData:andResponse:forURL:], as its only use has now been ported down to WebCore * WebView/WebFrameInternal.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b00be861