Further movement to CFURL.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-03-05 22:56:15 -08:00
parent 8f08c33bcc
commit 20d117e129
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ var CPBundlesForURLStrings = { };
count = [staticResources count];
for (; index < count; ++index)
[staticResourceURLs addObject:[CPURL URLWithString:staticResources[index].path()]];
[staticResourceURLs addObject:staticResources[index].URL()];
return staticResourceURLs;
}
+2 -4
View File
@@ -90,10 +90,8 @@
*/
- (void)setURL:(CPURL)aURL
{
if ([aURL isKindOfClass:[CPURL class]])
_URL = aURL;
else
_URL = [CPURL URLWithString:String(aURL)];
// Lenient and accept strings.
_URL = new CFURL(aURL);
}
/*!