Move URL from WebCore to WTF
[WebKit-https.git] / Source / WebKit / UIProcess / API / C / WKOpenPanelResultListener.cpp
index 6e79662..4a0ffc4 100644 (file)
@@ -29,7 +29,7 @@
 #include "APIArray.h"
 #include "WKAPICast.h"
 #include "WebOpenPanelResultListenerProxy.h"
-#include <WebCore/URL.h>
+#include <wtf/URL.h>
 
 using namespace WebKit;
 
@@ -48,7 +48,7 @@ static Vector<String> filePathsFromFileURLs(const API::Array& fileURLs)
     for (size_t i = 0; i < size; ++i) {
         API::URL* apiURL = fileURLs.at<API::URL>(i);
         if (apiURL)
-            filePaths.uncheckedAppend(WebCore::URL(WebCore::URL(), apiURL->string()).fileSystemPath());
+            filePaths.uncheckedAppend(URL(URL(), apiURL->string()).fileSystemPath());
     }
 
     return filePaths;