diff options
Diffstat (limited to 'Source/WebKit2/Shared/API/c/WKData.cpp')
-rw-r--r-- | Source/WebKit2/Shared/API/c/WKData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit2/Shared/API/c/WKData.cpp b/Source/WebKit2/Shared/API/c/WKData.cpp index ebc40b142..fdbca73dc 100644 --- a/Source/WebKit2/Shared/API/c/WKData.cpp +++ b/Source/WebKit2/Shared/API/c/WKData.cpp @@ -38,7 +38,7 @@ WKTypeID WKDataGetTypeID() WKDataRef WKDataCreate(const unsigned char* bytes, size_t size) { - return toAPI(API::Data::create(bytes, size).leakRef()); + return toAPI(&API::Data::create(bytes, size).leakRef()); } const unsigned char* WKDataGetBytes(WKDataRef dataRef) |