summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/API/c/cg/WKImageCG.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/API/c/cg/WKImageCG.h')
-rw-r--r--Source/WebKit2/Shared/API/c/cg/WKImageCG.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/API/c/cg/WKImageCG.h b/Source/WebKit2/Shared/API/c/cg/WKImageCG.h
index 7705c31..800b02e 100644
--- a/Source/WebKit2/Shared/API/c/cg/WKImageCG.h
+++ b/Source/WebKit2/Shared/API/c/cg/WKImageCG.h
@@ -28,6 +28,7 @@
#include <CoreGraphics/CGImage.h>
#include <WebKit2/WKBase.h>
+#include <WebKit2/WKImage.h>
#ifdef __cplusplus
extern "C" {
@@ -35,6 +36,8 @@ extern "C" {
WK_EXPORT CGImageRef WKImageCreateCGImage(WKImageRef image);
+WK_EXPORT WKImageRef WKImageCreateFromCGImage(CGImageRef imageRef, WKImageOptions options);
+
#ifdef __cplusplus
}
#endif