Changeset 28007 in webkit


Ignore:
Timestamp:
Nov 24, 2007 3:56:02 PM (16 years ago)
Author:
mrowe@apple.com
Message:

Tiger build fix.

Use WebCFAutorelease in place of NSMakeCollectable then autorelease as this also works on Tiger.

Location:
trunk/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/mac/ChangeLog

    r28006 r28007  
     12007-11-24  Mark Rowe  <mrowe@apple.com>
     2
     3        Tiger build fix.
     4
     5        * Plugins/WebBaseNetscapePluginStream.mm:
     6        (CarbonPathFromPOSIXPath): Use WebCFAutorelease as this also works on Tiger.
     7
    182007-11-24  Mark Rowe  <mrowe@apple.com>
    29
  • trunk/WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm

    r28006 r28007  
    600600        return nil;
    601601
    602     NSString *hfsPath = NSMakeCollectable(CFURLCopyFileSystemPath(url, kCFURLHFSPathStyle));
    603     return [hfsPath autorelease];
     602    return WebCFAutorelease(CFURLCopyFileSystemPath(url, kCFURLHFSPathStyle));
    604603}
    605604
Note: See TracChangeset for help on using the changeset viewer.