Summary: | WebKit2 needs a way to return the main resource data | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> | ||||
Component: | WebKit2 | Assignee: | Darin Adler <darin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Darin Adler
2010-12-22 17:20:55 PST
Created attachment 77284 [details]
Patch
Comment on attachment 77284 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77284&action=review > WebKit2/WebProcess/WebPage/WebPage.cpp:952 > + if (RefPtr<SharedBuffer> buffer = loader->mainResourceData()) It would be better to move the RefPtr<SharedBuffer> declaration out so that it has the same scope as the dataReference object itself. Committed r74527: <http://trac.webkit.org/changeset/74527> |