summaryrefslogtreecommitdiffstats
path: root/WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m')
-rw-r--r--WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m b/WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m
index 8e0a576..17958c7 100644
--- a/WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m
+++ b/WebKitTools/MiniBrowser/mac/WebBundle/WebBundleMain.m
@@ -41,7 +41,7 @@ void didClearWindowObjectForFrame(WKBundlePageRef page, WKBundleFrameRef frame,
{
WKURLRef wkURL = WKBundleFrameCopyURL(WKBundlePageGetMainFrame(page));
CFURLRef cfURL = WKURLCopyCFURL(0, wkURL);
- WKURLRelease(wkURL);
+ WKRelease(wkURL);
LOG(@"WKBundlePageClient - didClearWindowForFrame %@", [(NSURL *)cfURL absoluteString]);
CFRelease(cfURL);
@@ -49,8 +49,8 @@ void didClearWindowObjectForFrame(WKBundlePageRef page, WKBundleFrameRef frame,
WKStringRef messageName = WKStringCreateWithCFString(CFSTR("Callback"));
WKStringRef messageBody = WKStringCreateWithCFString(CFSTR("Window was cleared"));
WKBundlePostMessage(globalBundle, messageName, messageBody);
- WKStringRelease(messageName);
- WKStringRelease(messageBody);
+ WKRelease(messageName);
+ WKRelease(messageBody);
}