diff options
Diffstat (limited to 'Source/WebKit2/Shared/API/c/WKURLRequest.cpp')
-rw-r--r-- | Source/WebKit2/Shared/API/c/WKURLRequest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/API/c/WKURLRequest.cpp b/Source/WebKit2/Shared/API/c/WKURLRequest.cpp index 6ea66ec..433db05 100644 --- a/Source/WebKit2/Shared/API/c/WKURLRequest.cpp +++ b/Source/WebKit2/Shared/API/c/WKURLRequest.cpp @@ -23,6 +23,7 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" #include "WKURLRequest.h" #include "WKAPICast.h" @@ -41,3 +42,8 @@ WKURLRequestRef WKURLRequestCreateWithWKURL(WKURLRef url) { return toAPI(WebURLRequest::create(KURL(KURL(), toImpl(url)->string())).leakRef()); } + +WKURLRef WKURLRequestCopyURL(WKURLRequestRef requestRef) +{ + return toCopiedURLAPI(toImpl(requestRef)->url()); +} |