WebKit2 needs a way to return the main resource data
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>