Bug 64431

Summary: Some ApplicationCache Origin Cleanup
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, joepeck
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[PATCH] Some Cleanup ap: review+

Joseph Pecoraro
Reported 2011-07-12 21:48:49 PDT
- 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
Attachments
[PATCH] Some Cleanup (5.44 KB, patch)
2011-07-12 22:02 PDT, Joseph Pecoraro
ap: review+
Joseph Pecoraro
Comment 1 2011-07-12 22:02:12 PDT
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.
Joseph Pecoraro
Comment 2 2011-07-13 14:42:34 PDT
Note You need to log in before you can comment on or make changes to this bug.