Bug 49211 - Add DownloadProxy object
Summary: Add DownloadProxy object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 14:29 PST by Anders Carlsson
Modified: 2010-11-08 14:40 PST (History)
0 users

See Also:


Attachments
Patch (20.69 KB, patch)
2010-11-08 14:31 PST, Anders Carlsson
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2010-11-08 14:29:08 PST
Add DownloadProxy object
Comment 1 Anders Carlsson 2010-11-08 14:31:15 PST
Created attachment 73287 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-11-08 14:35:46 PST
Comment on attachment 73287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=73287&action=review

What about WebKit2.pro?

> WebKit2/UIProcess/WebContext.cpp:209
> +    for (HashMap<uint64_t, RefPtr<DownloadProxy> >::const_iterator it = m_downloads.begin(), end = m_downloads.end(); it != end; ++it)
> +        it->second->invalidate();

You could use .begin().values() and .end().values() to iterate over just the DownloadProxies.
Comment 3 Anders Carlsson 2010-11-08 14:40:06 PST
Committed r71574: <http://trac.webkit.org/changeset/71574>