Title: [114576] trunk/Source
Revision
114576
Author
[email protected]
Date
2012-04-18 16:10:18 -0700 (Wed, 18 Apr 2012)

Log Message

[Chromium] Call prefetchDNS directly
https://bugs.webkit.org/show_bug.cgi?id=84262

Reviewed by Kentaro Hara.

Part of a series, see tracking bug 82948.

Source/WebCore:

* platform/chromium/PlatformSupport.h:
(PlatformSupport):
* platform/network/chromium/DNSChromium.cpp:
(WebCore::prefetchDNS):

Source/WebKit/chromium:

* src/PlatformSupport.cpp:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114575 => 114576)


--- trunk/Source/WebCore/ChangeLog	2012-04-18 23:08:30 UTC (rev 114575)
+++ trunk/Source/WebCore/ChangeLog	2012-04-18 23:10:18 UTC (rev 114576)
@@ -1,3 +1,17 @@
+2012-04-18  Mark Pilgrim  <[email protected]>
+
+        [Chromium] Call prefetchDNS directly
+        https://bugs.webkit.org/show_bug.cgi?id=84262
+
+        Reviewed by Kentaro Hara.
+
+        Part of a series, see tracking bug 82948.
+
+        * platform/chromium/PlatformSupport.h:
+        (PlatformSupport):
+        * platform/network/chromium/DNSChromium.cpp:
+        (WebCore::prefetchDNS):
+
 2012-04-18  Julien Chaffraix  <[email protected]>
 
         REGRESSION(102040): Auto-table layout with percent width doesn't shrink-to-fit content a cell with colspan

Modified: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (114575 => 114576)


--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-18 23:08:30 UTC (rev 114575)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-18 23:10:18 UTC (rev 114576)
@@ -125,9 +125,6 @@
     static void deleteCookie(const Document*, const KURL&, const String& cookieName);
     static bool cookiesEnabled(const Document*);
 
-    // DNS ----------------------------------------------------------------
-    static void prefetchDNS(const String& hostname);
-
     // File ---------------------------------------------------------------
     static void revealFolderInOS(const String&);
     static bool fileExists(const String&);

Modified: trunk/Source/WebCore/platform/network/chromium/DNSChromium.cpp (114575 => 114576)


--- trunk/Source/WebCore/platform/network/chromium/DNSChromium.cpp	2012-04-18 23:08:30 UTC (rev 114575)
+++ trunk/Source/WebCore/platform/network/chromium/DNSChromium.cpp	2012-04-18 23:10:18 UTC (rev 114576)
@@ -26,13 +26,13 @@
 #include "config.h"
 #include "DNS.h"
 
-#include "PlatformSupport.h"
+#include <public/Platform.h>
 
 namespace WebCore {
 
 void prefetchDNS(const String& hostname)
 {
-    PlatformSupport::prefetchDNS(hostname);
+    WebKit::Platform::current()->prefetchHostName(hostname);
 }
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/chromium/ChangeLog (114575 => 114576)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-18 23:08:30 UTC (rev 114575)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-18 23:10:18 UTC (rev 114576)
@@ -1,3 +1,15 @@
+2012-04-18  Mark Pilgrim  <[email protected]>
+
+        [Chromium] Call prefetchDNS directly
+        https://bugs.webkit.org/show_bug.cgi?id=84262
+
+        Reviewed by Kentaro Hara.
+
+        Part of a series, see tracking bug 82948.
+
+        * src/PlatformSupport.cpp:
+        (WebCore):
+
 2012-04-18  Myles Maxfield  <[email protected]>
 
         Chromium compile of WebDatabase.cpp fails without SQL_DATABASE

Modified: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (114575 => 114576)


--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-18 23:08:30 UTC (rev 114575)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-18 23:10:18 UTC (rev 114576)
@@ -315,13 +315,6 @@
     return result;
 }
 
-// DNS ------------------------------------------------------------------------
-
-void PlatformSupport::prefetchDNS(const String& hostname)
-{
-    webKitPlatformSupport()->prefetchHostName(hostname);
-}
-
 // File ------------------------------------------------------------------------
 
 bool PlatformSupport::fileExists(const String& path)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to