Commit 116facd3 authored by darin's avatar darin
Browse files

Fix a reproducible crash pulling down the Go menu.

        * Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _iconForFileURL:withSize:]):
	Add a missing retain.

        * WebKit.pbproj/project.pbxproj: Project Builder wants what it wants.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 74610cc2
2002-09-03 Darin Adler <darin@apple.com>
Fix a reproducible crash pulling down the Go menu.
* Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _iconForFileURL:withSize:]):
Add a missing retain.
* WebKit.pbproj/project.pbxproj: Project Builder wants what it wants.
2002-09-02 Chris Blumenberg <cblu@apple.com>
Icon DB.
......
2002-09-03 Darin Adler <darin@apple.com>
Fix a reproducible crash pulling down the Go menu.
* Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _iconForFileURL:withSize:]):
Add a missing retain.
* WebKit.pbproj/project.pbxproj: Project Builder wants what it wants.
2002-09-02 Chris Blumenberg <cblu@apple.com>
Icon DB.
......
......@@ -353,7 +353,7 @@ - (NSImage *)_iconForFileURL:(NSURL *)fileURL withSize:(NSSize)size
if([[[fileURL path] pathExtension] rangeOfString:@"htm"].length > 0){
if(!_private->htmlIcons){
icon = [workspace iconForFileType:@"html"];
_private->htmlIcons = [NSMutableArray arrayWithObject:icon];
_private->htmlIcons = [[NSMutableArray arrayWithObject:icon] retain];
}
return [self _cachedIconFromArray:_private->htmlIcons withSize:size];
}else{
......
......@@ -72,6 +72,7 @@
F58C8A07025BD3BC018635CA,
F531DDFF02F0C36F018635CA,
);
hasScannedForEncodings = 1;
isa = PBXProject;
knownRegions = (
English,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment