- m_loadedSize is inaccurate and can just be replaced by ApplicationCache::estimatedSizeInStorage
- m_availableSpaceInQuota can get out dated, and should just be recalculated at the start of downloads
Created attachment 100628 [details]
[PATCH] Some Cleanup
Don't let the patch confuse you. I just changed the "if quota < m_loadedSize"
check to use estimatedSizeInStorage and moved it down a few lines below
the addResource call.
Landed in r90947 <http://trac.webkit.org/changeset/90947>.