Changeset 55985 in webkit
- Timestamp:
- Mar 15, 2010 12:04:30 AM (14 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r55946 r55985 1 2010-03-14 Darin Adler <darin@apple.com> 2 3 Reviewed by Mark Rowe. 4 5 Remove unneeded dependency on non-string identifier for an NSTableColumn 6 https://bugs.webkit.org/show_bug.cgi?id=36106 7 8 * WebView/WebTextCompletionController.mm: 9 (-[WebTextCompletionController _buildUI]): Use init instead of initWithIdentifier: 10 because the table has only one column and that column does not need an identifier. 11 1 12 2010-03-12 Beth Dakin <bdakin@apple.com> 2 13 -
trunk/WebKit/mac/WebView/WebTextCompletionController.mm
r49806 r55985 85 85 NSRect tableFrame = NSZeroRect; 86 86 tableFrame.size = [NSScrollView contentSizeForFrameSize:scrollFrame.size hasHorizontalScroller:NO hasVerticalScroller:YES borderType:NSNoBorder]; 87 // Added cast to work around problem with multiple Foundation initWithIdentifier: methods with different parameter types. 88 NSTableColumn *column = [(NSTableColumn *)[NSTableColumn alloc] initWithIdentifier:[NSNumber numberWithInt:0]]; 87 NSTableColumn *column = [[NSTableColumn alloc] init]; 89 88 [column setWidth:tableFrame.size.width]; 90 89 [column setEditable:NO];
Note: See TracChangeset
for help on using the changeset viewer.