Use WebCFAutorelease in place of NSMakeCollectable then autorelease as this also works on Tiger.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28007
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-11-24 Mark Rowe <mrowe@apple.com>
+
+ Tiger build fix.
+
+ * Plugins/WebBaseNetscapePluginStream.mm:
+ (CarbonPathFromPOSIXPath): Use WebCFAutorelease as this also works on Tiger.
+
2007-11-24 Mark Rowe <mrowe@apple.com>
Reviewed by Tim Hatcher.
if (!url)
return nil;
- NSString *hfsPath = NSMakeCollectable(CFURLCopyFileSystemPath(url, kCFURLHFSPathStyle));
- return [hfsPath autorelease];
+ return WebCFAutorelease(CFURLCopyFileSystemPath(url, kCFURLHFSPathStyle));
}
#endif