[Cocoa] Avoid some double-wrapping of strings and URLs
[WebKit-https.git] / Source / WebKit2 / Shared / API / c / cf / WKURLCF.h
index 394800d7347e02beff288dd5e732604fbf52068a..f704a131a665ca1b71e6d929b2a90ff498588cf1 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 #endif
 
 WK_EXPORT WKURLRef WKURLCreateWithCFURL(CFURLRef URL);
-WK_EXPORT CFURLRef WKURLCopyCFURL(CFAllocatorRef alloc, WKURLRef URL);
+WK_EXPORT CFURLRef WKURLCopyCFURL(CFAllocatorRef alloc, WKURLRef URL) CF_RETURNS_RETAINED;
 
 #ifdef __cplusplus
 }