[Webkit-unassigned] [Bug 147824] NetworkProcess: DNS prefetch happens in the Web Process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 18 15:18:17 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147824

--- Comment #21 from Darin Adler <darin at apple.com> ---
Comment on attachment 262588
  --> https://bugs.webkit.org/attachment.cgi?id=262588
Updated patch

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

> Source/WebCore/loader/FrameLoaderClient.h:33
> +#include "DNS.h"

We should keep the implementation of the virtual function out of the header, that way we don’t need to include DNS.h in this header. Generally speaking it’s not so valuable to have implementations of virtual functions in the header rather than a cpp file since it’s not common to be able to expand them in line at the call site.

> Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:632
> +        m_page->mainFrame().loader().client().prefetchDNS(downcast<Element>(*node).absoluteLinkURL().host());

Are we guaranteed that m_page is non-null?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151018/1b10fe86/attachment.html>


More information about the webkit-unassigned mailing list