Changeset 20930 in webkit
- Timestamp:
- Apr 17, 2007 8:50:25 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r20927 r20930 1 2007-04-17 Justin Garcia <justin.garcia@apple.com>2 3 Reviewed by adam4 5 Removed workarounds for compiler bug 4213314.6 7 * platform/mac/CursorMac.mm:8 (WebCore::leakNamedCursor):9 * platform/mac/ScrollViewMac.mm:10 (WebCore::ScrollView::resizeContents):11 (WebCore::ScrollView::contentsToWindow):12 (WebCore::ScrollView::windowToContents):13 14 1 2007-04-17 Justin Garcia <justin.garcia@apple.com> 15 2 -
trunk/WebCore/platform/mac/CursorMac.mm
r20927 r20930 67 67 NSCursor* cursor = 0; 68 68 if (cursorImage) { 69 cursor = [[NSCursor alloc] initWithImage:cursorImage hotSpot:NSMakePoint(x, y)]; 69 NSPoint hotSpotPoint = {x, y}; // workaround for 4213314 70 cursor = [[NSCursor alloc] initWithImage:cursorImage hotSpot:hotSpotPoint]; 70 71 [cursorImage release]; 71 72 } -
trunk/WebCore/platform/mac/ScrollViewMac.mm
r20927 r20930 335 335 _h = 0; 336 336 337 [view setFrameSize:NSMakeSize(_w, _h)]; 337 NSSize tempSize = { _w, _h }; // workaround for 4213314 338 [view setFrameSize:tempSize]; 338 339 } else { 339 340 resize (_w, _h); … … 392 393 view = docView; 393 394 394 NSPoint np = [view convertPoint:contentsPoint toView: nil]; 395 NSPoint tempPoint = { contentsPoint.x(), contentsPoint.y() }; // workaround for 4213314 396 NSPoint np = [view convertPoint:tempPoint toView: nil]; 395 397 return IntPoint(np); 396 398 … … 411 413 view = docView; 412 414 413 NSPoint np = [view convertPoint:point fromView: nil]; 415 NSPoint tempPoint = { point.x(), point.y() }; // workaround for 4213314 416 NSPoint np = [view convertPoint:tempPoint fromView: nil]; 414 417 415 418 return IntPoint(np); -
trunk/WebKit/ChangeLog
r20927 r20930 1 2007-04-17 Justin Garcia <justin.garcia@apple.com>2 3 Reviewed by adam4 5 Removed workarounds for compiler bug 4213314.6 7 * Misc/WebNSAttributedStringExtras.mm:8 (+[NSAttributedString _web_attributedStringFromRange:]):9 * WebKit.xcodeproj/project.pbxproj:10 11 1 2007-04-17 John Sullivan <sullivan@apple.com> 12 2 -
trunk/WebKit/Misc/WebNSAttributedStringExtras.mm
r20927 r20930 426 426 427 427 NSURL *URL = kURL.getNSURL(); 428 [result addAttribute:NSLinkAttributeName value:URL range:NSMakeRange(linkStartLocation, [result length] - linkStartLocation)]; 428 NSRange tempRange = { linkStartLocation, [result length]-linkStartLocation }; // workaround for 4213314 429 [result addAttribute:NSLinkAttributeName value:URL range:tempRange]; 429 430 linkStartNode = 0; 430 431 } … … 544 545 [[[NSTextTab alloc] initWithType:NSLeftTabStopType location:rx] autorelease], 545 546 nil]]; 546 [result addAttribute:NSParagraphStyleAttributeName value:mps range:NSMakeRange(info.start, info.end - info.start)]; 547 NSRange tempRange = { info.start, info.end-info.start }; // workaround for 4213314 548 [result addAttribute:NSParagraphStyleAttributeName value:mps range:tempRange]; 547 549 [mps release]; 548 550 } -
trunk/WebKit/WebKit.xcodeproj/project.pbxproj
r20927 r20930 1335 1335 isa = PBXProject; 1336 1336 buildConfigurationList = 149C283208902B0F008A9EFC /* Build configuration list for PBXProject "WebKit" */; 1337 compatibilityVersion = "Xcode 2.4"; 1337 1338 hasScannedForEncodings = 1; 1338 1339 knownRegions = ( … … 1349 1350 projectDirPath = ""; 1350 1351 projectRoot = ""; 1352 shouldCheckCompatibility = 1; 1351 1353 targets = ( 1352 1354 9398100A0824BF01008DF038 /* WebKit */,
Note: See TracChangeset
for help on using the changeset viewer.