* UIProcess/API/C/WKPage.cpp:
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jan 2014 00:39:12 +0000 (00:39 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jan 2014 00:39:12 +0000 (00:39 +0000)
(WKPageLoadURL):
Don't use the resource request constructor that takes a String.

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/C/WKPage.cpp

index 93172ce..27228ad 100644 (file)
@@ -1,3 +1,11 @@
+2014-01-29  Anders Carlsson  <andersca@apple.com>
+
+        
+
+        * UIProcess/API/C/WKPage.cpp:
+        (WKPageLoadURL):
+        Don't use the resource request constructor that takes a String.
+
 2014-01-29  Brady Eidson  <beidson@apple.com>
 
         IDB: Fully implement IDBKeyData encoding/decoding
index c398b70..ee5146c 100644 (file)
@@ -82,7 +82,7 @@ WKPageGroupRef WKPageGetPageGroup(WKPageRef pageRef)
 
 void WKPageLoadURL(WKPageRef pageRef, WKURLRef URLRef)
 {
-    toImpl(pageRef)->loadRequest(toWTFString(URLRef));
+    toImpl(pageRef)->loadRequest(URL(URL(), toWTFString(URLRef)));
 }
 
 void WKPageLoadURLWithUserData(WKPageRef pageRef, WKURLRef URLRef, WKTypeRef userDataRef)