Bug 51510

Summary: WebKit2 needs a way to return the main resource data
Product: WebKit Reporter: Darin Adler <darin>
Component: WebKit2Assignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch andersca: review+

Darin Adler
Reported 2010-12-22 17:20:55 PST
WebKit2 needs a way to return the main resource data
Attachments
Patch (16.32 KB, patch)
2010-12-22 17:25 PST, Darin Adler
andersca: review+
Darin Adler
Comment 1 2010-12-22 17:25:19 PST
Anders Carlsson
Comment 2 2010-12-22 17:37:14 PST
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.
Darin Adler
Comment 3 2010-12-22 17:46:21 PST
Note You need to log in before you can comment on or make changes to this bug.