<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[190364] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/190364">190364</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-09-30 12:44:50 -0700 (Wed, 30 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, roll out <a href="http://trac.webkit.org/projects/webkit/changeset/188331">r188331</a>: &quot;NetworkProcess: DNS prefetch happens in the Web Process&quot;
&lt;rdar://problem/22560715&gt;

Speculative roll out of <a href="http://trac.webkit.org/projects/webkit/changeset/188331">r188331</a> as we had a ~2.5% PLT regression around
the time it landed and it seems the most likely culprit. I'll reland if
the perf bots do not recover after the roll out.

Source/WebCore:

* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::parseAttribute):
* loader/FrameLoaderClient.h:
* loader/LinkLoader.cpp:
(WebCore::LinkLoader::loadLink):
* page/Chrome.cpp:
(WebCore::Chrome::mouseDidMoveOverElement):

Source/WebKit2:

* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::storageSession): Deleted.
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp:
(webkitWebExtensionDidReceiveMessage):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
* WebProcess/WebProcess.cpp:
* WebProcess/WebProcess.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAnchorElementcpp">trunk/Source/WebCore/html/HTMLAnchorElement.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoaderClienth">trunk/Source/WebCore/loader/FrameLoaderClient.h</a></li>
<li><a href="#trunkSourceWebCoreloaderLinkLoadercpp">trunk/Source/WebCore/loader/LinkLoader.cpp</a></li>
<li><a href="#trunkSourceWebCorepageChromecpp">trunk/Source/WebCore/page/Chrome.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcesscpp">trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessh">trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessmessagesin">trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebExtensioncpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebFrameLoaderClientcpp">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebFrameLoaderClienth">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm">trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebProcesscpp">trunk/Source/WebKit2/WebProcess/WebProcess.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebProcessh">trunk/Source/WebKit2/WebProcess/WebProcess.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebCore/ChangeLog        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2015-09-30  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Unreviewed, roll out r188331: &quot;NetworkProcess: DNS prefetch happens in the Web Process&quot;
+        &lt;rdar://problem/22560715&gt;
+
+        Speculative roll out of r188331 as we had a ~2.5% PLT regression around
+        the time it landed and it seems the most likely culprit. I'll reland if
+        the perf bots do not recover after the roll out.
+
+        * html/HTMLAnchorElement.cpp:
+        (WebCore::HTMLAnchorElement::parseAttribute):
+        * loader/FrameLoaderClient.h:
+        * loader/LinkLoader.cpp:
+        (WebCore::LinkLoader::loadLink):
+        * page/Chrome.cpp:
+        (WebCore::Chrome::mouseDidMoveOverElement):
+
</ins><span class="cx"> 2015-09-30  Timothy Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Compute document marker rects at use time instead of paint time
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAnchorElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAnchorElement.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAnchorElement.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -25,6 +25,7 @@
</span><span class="cx"> #include &quot;HTMLAnchorElement.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;AttributeDOMTokenList.h&quot;
</span><ins>+#include &quot;DNS.h&quot;
</ins><span class="cx"> #include &quot;ElementIterator.h&quot;
</span><span class="cx"> #include &quot;EventHandler.h&quot;
</span><span class="cx"> #include &quot;EventNames.h&quot;
</span><span class="lines">@@ -252,9 +253,9 @@
</span><span class="cx">             setNeedsStyleRecalc();
</span><span class="cx">         if (isLink()) {
</span><span class="cx">             String parsedURL = stripLeadingAndTrailingHTMLSpaces(value);
</span><del>-            if (document().isDNSPrefetchEnabled() &amp;&amp; document().frame()) {
</del><ins>+            if (document().isDNSPrefetchEnabled()) {
</ins><span class="cx">                 if (protocolIsInHTTPFamily(parsedURL) || parsedURL.startsWith(&quot;//&quot;))
</span><del>-                    document().frame()-&gt;loader().client().prefetchDNS(document().completeURL(parsedURL).host());
</del><ins>+                    prefetchDNS(document().completeURL(parsedURL).host());
</ins><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">         invalidateCachedVisitedLinkHash();
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoaderClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoaderClient.h (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoaderClient.h        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebCore/loader/FrameLoaderClient.h        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #ifndef FrameLoaderClient_h
</span><span class="cx"> #define FrameLoaderClient_h
</span><span class="cx"> 
</span><del>-#include &quot;DNS.h&quot;
</del><span class="cx"> #include &quot;FrameLoaderTypes.h&quot;
</span><span class="cx"> #include &quot;IconURL.h&quot;
</span><span class="cx"> #include &quot;LayoutMilestones.h&quot;
</span><span class="lines">@@ -346,7 +345,6 @@
</span><span class="cx"> #if ENABLE(CONTENT_FILTERING)
</span><span class="cx">         virtual void contentFilterDidBlockLoad(ContentFilterUnblockHandler) { }
</span><span class="cx"> #endif
</span><del>-        virtual void prefetchDNS(const String&amp; hostname) { WebCore::prefetchDNS(hostname); }
</del><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderLinkLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/LinkLoader.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/LinkLoader.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebCore/loader/LinkLoader.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &quot;CachedResourceLoader.h&quot;
</span><span class="cx"> #include &quot;CachedResourceRequest.h&quot;
</span><span class="cx"> #include &quot;ContainerNode.h&quot;
</span><ins>+#include &quot;DNS.h&quot;
</ins><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameLoaderClient.h&quot;
</span><span class="lines">@@ -97,8 +98,8 @@
</span><span class="cx">         Settings* settings = document.settings();
</span><span class="cx">         // FIXME: The href attribute of the link element can be in &quot;//hostname&quot; form, and we shouldn't attempt
</span><span class="cx">         // to complete that as URL &lt;https://bugs.webkit.org/show_bug.cgi?id=48857&gt;.
</span><del>-        if (settings &amp;&amp; settings-&gt;dnsPrefetchingEnabled() &amp;&amp; href.isValid() &amp;&amp; !href.isEmpty() &amp;&amp; document.frame())
-            document.frame()-&gt;loader().client().prefetchDNS(href.host());
</del><ins>+        if (settings &amp;&amp; settings-&gt;dnsPrefetchingEnabled() &amp;&amp; href.isValid() &amp;&amp; !href.isEmpty())
+            prefetchDNS(href.host());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(LINK_PREFETCH)
</span></span></pre></div>
<a id="trunkSourceWebCorepageChromecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Chrome.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Chrome.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebCore/page/Chrome.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -23,13 +23,13 @@
</span><span class="cx"> #include &quot;Chrome.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ChromeClient.h&quot;
</span><ins>+#include &quot;DNS.h&quot;
</ins><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;DocumentType.h&quot;
</span><span class="cx"> #include &quot;FileIconLoader.h&quot;
</span><span class="cx"> #include &quot;FileChooser.h&quot;
</span><span class="cx"> #include &quot;FileList.h&quot;
</span><span class="cx"> #include &quot;FloatRect.h&quot;
</span><del>-#include &quot;FrameLoaderClient.h&quot;
</del><span class="cx"> #include &quot;FrameTree.h&quot;
</span><span class="cx"> #include &quot;Geolocation.h&quot;
</span><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><span class="lines">@@ -350,7 +350,7 @@
</span><span class="cx"> void Chrome::mouseDidMoveOverElement(const HitTestResult&amp; result, unsigned modifierFlags)
</span><span class="cx"> {
</span><span class="cx">     if (result.innerNode() &amp;&amp; result.innerNode()-&gt;document().isDNSPrefetchEnabled())
</span><del>-        m_page.mainFrame().loader().client().prefetchDNS(result.absoluteLinkURL().host());
</del><ins>+        prefetchDNS(result.absoluteLinkURL().host());
</ins><span class="cx">     m_client.mouseDidMoveOverElement(result, modifierFlags);
</span><span class="cx"> 
</span><span class="cx">     InspectorInstrumentation::mouseDidMoveOverElement(m_page, result, modifierFlags);
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/ChangeLog        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -1,3 +1,25 @@
</span><ins>+2015-09-30  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Unreviewed, roll out r188331: &quot;NetworkProcess: DNS prefetch happens in the Web Process&quot;
+        &lt;rdar://problem/22560715&gt;
+
+        Speculative roll out of r188331 as we had a ~2.5% PLT regression around
+        the time it landed and it seems the most likely culprit. I'll reland if
+        the perf bots do not recover after the roll out.
+
+        * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+        (WebKit::storageSession): Deleted.
+        * NetworkProcess/NetworkConnectionToWebProcess.h:
+        * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+        * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp:
+        (webkitWebExtensionDidReceiveMessage):
+        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
+        * WebProcess/WebPage/ios/WebPageIOS.mm:
+        (WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
+        * WebProcess/WebProcess.cpp:
+        * WebProcess/WebProcess.h:
+
</ins><span class="cx"> 2015-09-30  Timothy Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Compute document marker rects at use time instead of paint time
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcesscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;NetworkResourceLoaderMessages.h&quot;
</span><span class="cx"> #include &quot;RemoteNetworkingContext.h&quot;
</span><span class="cx"> #include &quot;SessionTracker.h&quot;
</span><del>-#include &lt;WebCore/DNS.h&gt;
</del><span class="cx"> #include &lt;WebCore/PingHandle.h&gt;
</span><span class="cx"> #include &lt;WebCore/PlatformCookieJar.h&gt;
</span><span class="cx"> #include &lt;WebCore/ResourceLoaderOptions.h&gt;
</span><span class="lines">@@ -160,11 +159,6 @@
</span><span class="cx">     loader-&gt;setDefersLoading(defers);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void NetworkConnectionToWebProcess::prefetchDNS(const String&amp; hostname)
-{
-    WebCore::prefetchDNS(hostname);
-}
-
</del><span class="cx"> static NetworkStorageSession&amp; storageSession(SessionID sessionID)
</span><span class="cx"> {
</span><span class="cx">     if (sessionID.isEphemeral()) {
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -73,7 +73,6 @@
</span><span class="cx">     void scheduleResourceLoad(const NetworkResourceLoadParameters&amp;);
</span><span class="cx">     void performSynchronousLoad(const NetworkResourceLoadParameters&amp;, PassRefPtr&lt;Messages::NetworkConnectionToWebProcess::PerformSynchronousLoad::DelayedReply&gt;);
</span><span class="cx">     void loadPing(const NetworkResourceLoadParameters&amp;);
</span><del>-    void prefetchDNS(const String&amp;);
</del><span class="cx"> 
</span><span class="cx">     void removeLoadIdentifier(ResourceLoadIdentifier);
</span><span class="cx">     void setDefersLoading(ResourceLoadIdentifier, bool);
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     LoadPing(WebKit::NetworkResourceLoadParameters resourceLoadParameters)
</span><span class="cx">     RemoveLoadIdentifier(uint64_t resourceLoadIdentifier)
</span><span class="cx">     SetDefersLoading(uint64_t resourceLoadIdentifier, bool defers)
</span><del>-    PrefetchDNS(String hostname)
</del><span class="cx"> 
</span><span class="cx">     StartDownload(WebCore::SessionID sessionID, uint64_t downloadID, WebCore::ResourceRequest request)
</span><span class="cx">     ConvertMainResourceLoadToDownload(uint64_t mainResourceLoadIdentifier, uint64_t downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebExtensioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> #include &quot;WebKitPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitWebExtensionPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitWebPagePrivate.h&quot;
</span><del>-#include &quot;WebProcess.h&quot;
</del><ins>+#include &lt;WebCore/DNS.h&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/glib/GRefPtr.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (messageName == String::fromUTF8(&quot;PrefetchDNS&quot;)) {
</span><span class="cx">         API::String* hostname = static_cast&lt;API::String*&gt;(message.get(String::fromUTF8(&quot;Hostname&quot;)));
</span><del>-        WebProcess::singleton().prefetchDNS(hostname-&gt;string());
</del><ins>+        WebCore::prefetchDNS(hostname-&gt;string());
</ins><span class="cx">     } else
</span><span class="cx">         ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebFrameLoaderClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -1715,9 +1715,4 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-void WebFrameLoaderClient::prefetchDNS(const String&amp; hostname)
-{
-    WebProcess::singleton().prefetchDNS(hostname);
-}
-
</del><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebFrameLoaderClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -241,8 +241,6 @@
</span><span class="cx">     void contentFilterDidBlockLoad(WebCore::ContentFilterUnblockHandler) override;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    void prefetchDNS(const String&amp;) override;
-
</del><span class="cx">     WebFrame* m_frame;
</span><span class="cx">     RefPtr&lt;PluginView&gt; m_pluginView;
</span><span class="cx">     bool m_hasSentResponseToPluginView;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -50,6 +50,7 @@
</span><span class="cx"> #import &quot;WebProcess.h&quot;
</span><span class="cx"> #import &lt;CoreText/CTFont.h&gt;
</span><span class="cx"> #import &lt;WebCore/Chrome.h&gt;
</span><ins>+#import &lt;WebCore/DNS.h&gt;
</ins><span class="cx"> #import &lt;WebCore/DiagnosticLoggingClient.h&gt;
</span><span class="cx"> #import &lt;WebCore/DiagnosticLoggingKeys.h&gt;
</span><span class="cx"> #import &lt;WebCore/Element.h&gt;
</span><span class="lines">@@ -58,7 +59,6 @@
</span><span class="cx"> #import &lt;WebCore/FloatQuad.h&gt;
</span><span class="cx"> #import &lt;WebCore/FocusController.h&gt;
</span><span class="cx"> #import &lt;WebCore/Frame.h&gt;
</span><del>-#import &lt;WebCore/FrameLoaderClient.h&gt;
</del><span class="cx"> #import &lt;WebCore/FrameView.h&gt;
</span><span class="cx"> #import &lt;WebCore/GeometryUtilities.h&gt;
</span><span class="cx"> #import &lt;WebCore/HTMLElementTypeHelpers.h&gt;
</span><span class="lines">@@ -629,7 +629,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (is&lt;Element&gt;(*node))
</span><del>-        m_page-&gt;mainFrame().loader().client().prefetchDNS(downcast&lt;Element&gt;(*node).absoluteLinkURL().host());
</del><ins>+        prefetchDNS(downcast&lt;Element&gt;(*node).absoluteLinkURL().host());
</ins><span class="cx"> 
</span><span class="cx">     Vector&lt;FloatQuad&gt; quads;
</span><span class="cx">     if (RenderObject *renderer = node-&gt;renderer()) {
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebProcesscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebProcess.cpp (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebProcess.cpp        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.cpp        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;EventDispatcher.h&quot;
</span><span class="cx"> #include &quot;InjectedBundle.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><del>-#include &quot;NetworkConnectionToWebProcessMessages.h&quot;
</del><span class="cx"> #include &quot;PluginProcessConnectionManager.h&quot;
</span><span class="cx"> #include &quot;SessionTracker.h&quot;
</span><span class="cx"> #include &quot;StatisticsData.h&quot;
</span><span class="lines">@@ -68,7 +67,6 @@
</span><span class="cx"> #include &lt;WebCore/ApplicationCacheStorage.h&gt;
</span><span class="cx"> #include &lt;WebCore/AuthenticationChallenge.h&gt;
</span><span class="cx"> #include &lt;WebCore/CrossOriginPreflightResultCache.h&gt;
</span><del>-#include &lt;WebCore/DNS.h&gt;
</del><span class="cx"> #include &lt;WebCore/FontCache.h&gt;
</span><span class="cx"> #include &lt;WebCore/FontCascade.h&gt;
</span><span class="cx"> #include &lt;WebCore/Frame.h&gt;
</span><span class="lines">@@ -1453,16 +1451,4 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-void WebProcess::prefetchDNS(const String&amp; hostname)
-{
-    if (!usesNetworkProcess()) {
-        WebCore::prefetchDNS(hostname);
-        return;
-    }
-
-#if ENABLE(NETWORK_PROCESS)
-    networkConnection()-&gt;connection()-&gt;send(Messages::NetworkConnectionToWebProcess::PrefetchDNS(hostname), 0);
-#endif
-}
-
</del><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebProcessh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebProcess.h (190363 => 190364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebProcess.h        2015-09-30 19:36:37 UTC (rev 190363)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.h        2015-09-30 19:44:50 UTC (rev 190364)
</span><span class="lines">@@ -214,8 +214,6 @@
</span><span class="cx">     bool hasRichContentServices() const { return m_hasRichContentServices; }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    void prefetchDNS(const String&amp;);
-
</del><span class="cx"> private:
</span><span class="cx">     WebProcess();
</span><span class="cx">     ~WebProcess();
</span></span></pre>
</div>
</div>

</body>
</html>