* Plugins/WebNetscapePluginPackage.m:
(-[WebNetscapePluginPackage _unloadWithShutdown:]):
Fixed a subtle problem with the 64-bit debug build -- as written, this would LOG() on 64-bit and do nothing on
32-bit!
* Plugins/WebPluginDatabase.m:
(-[WebPluginDatabase _scanForNewPlugins]):
Use +[NSMutableSet set] here.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15902
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-15 Tim Omernick <timo@apple.com>
+
+ Reviewed by Kevin Decker.
+
+ * Plugins/WebNetscapePluginPackage.m:
+ (-[WebNetscapePluginPackage _unloadWithShutdown:]):
+ Fixed a subtle problem with the 64-bit debug build -- as written, this would LOG() on 64-bit and do nothing on
+ 32-bit!
+ * Plugins/WebPluginDatabase.m:
+ (-[WebPluginDatabase _scanForNewPlugins]):
+ Use +[NSMutableSet set] here.
+
2006-08-15 Tim Omernick <timo@apple.com>
Reviewed by Darin Adler.
if (isBundle)
CFBundleUnloadExecutable(cfBundle);
- else
#ifndef __LP64__
+ else {
// CFM is not supported in 64-bit
WebCloseConnection(&connID);
+ }
#endif
LOG(Plugins, "Plugin Unloaded");
- (NSMutableSet *)_scanForNewPlugins
{
- NSMutableSet *newPlugins = [[[NSMutableSet alloc] init] autorelease];
+ NSMutableSet *newPlugins = [NSMutableSet set];
NSEnumerator *directoryEnumerator = [[self _plugInPaths] objectEnumerator];
NSMutableSet *uniqueFilenames = [[NSMutableSet alloc] init];
NSFileManager *fileManager = [NSFileManager defaultManager];