Fix internal iOS builds after r232198
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2018 21:18:04 +0000 (21:18 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2018 21:18:04 +0000 (21:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=185986

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

index 893b761..b808868 100644 (file)
@@ -1,5 +1,13 @@
 2018-05-25  Alex Christensen  <achristensen@webkit.org>
 
+        Fix internal iOS builds after r232198
+        https://bugs.webkit.org/show_bug.cgi?id=185986
+
+        * WebProcess/WebPage/ios/WebPageIOS.mm:
+        (WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
+
+2018-05-25  Alex Christensen  <achristensen@webkit.org>
+
         URL::host should return a StringView to reduce allocations
         https://bugs.webkit.org/show_bug.cgi?id=185986
 
index c6cd0a1..7159331 100644 (file)
@@ -716,7 +716,7 @@ void WebPage::sendTapHighlightForNodeIfNecessary(uint64_t requestID, Node* node)
 
     if (is<Element>(*node)) {
         ASSERT(m_page);
-        m_page->mainFrame().loader().client().prefetchDNS(downcast<Element>(*node).absoluteLinkURL().host());
+        m_page->mainFrame().loader().client().prefetchDNS(downcast<Element>(*node).absoluteLinkURL().host().toString());
     }
 
     if (is<HTMLAreaElement>(node)) {