Title: [207495] trunk/Source/WebKit/win
Revision
207495
Author
ander...@apple.com
Date
2016-10-18 15:57:34 -0700 (Tue, 18 Oct 2016)

Log Message

Try to fix the Windows build.

* WebHistoryItem.cpp:
(WebHistoryItem::redirectURLs):

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (207494 => 207495)


--- trunk/Source/WebKit/win/ChangeLog	2016-10-18 22:33:35 UTC (rev 207494)
+++ trunk/Source/WebKit/win/ChangeLog	2016-10-18 22:57:34 UTC (rev 207495)
@@ -1,5 +1,12 @@
 2016-10-18  Anders Carlsson  <ander...@apple.com>
 
+        Try to fix the Windows build.
+
+        * WebHistoryItem.cpp:
+        (WebHistoryItem::redirectURLs):
+
+2016-10-18  Anders Carlsson  <ander...@apple.com>
+
         Move some history specific HistoryItem code to WebHistoryItem
         https://bugs.webkit.org/show_bug.cgi?id=163567
 

Modified: trunk/Source/WebKit/win/WebHistoryItem.cpp (207494 => 207495)


--- trunk/Source/WebKit/win/WebHistoryItem.cpp	2016-10-18 22:33:35 UTC (rev 207494)
+++ trunk/Source/WebKit/win/WebHistoryItem.cpp	2016-10-18 22:57:34 UTC (rev 207495)
@@ -332,23 +332,10 @@
     return E_NOTIMPL;
 }
 
+// FIXME: This function should be removed from the IWebHistoryItem interface.
 HRESULT WebHistoryItem::redirectURLs(_COM_Outptr_opt_ IEnumVARIANT** urls)
 {
-    if (!urls) {
-        ASSERT_NOT_REACHED();
-        return E_POINTER;
-    }
-
-    Vector<String>* urlVector = m_historyItem->redirectURLs();
-    if (!urlVector) {
-        *urls = 0;
-        return S_OK;
-    }
-
-    COMPtr<COMEnumVariant<Vector<String> > > enumVariant(AdoptCOM, COMEnumVariant<Vector<String> >::createInstance(*urlVector));
-    *urls = enumVariant.leakRef();
-
-    return S_OK;
+    return E_NOTIMPL;
 }
 
 // FIXME: This function should be removed from the IWebHistoryItem interface.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to