Changeset 41903 in webkit
- Timestamp:
- Mar 22, 2009 8:46:17 PM (15 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r41885 r41903 1 2009-03-22 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by John Sullivan. 4 5 - fix <rdar://problem/6640741> Messages not displaying after the 6 Safari 4 beta was installed 7 8 Mail assumes that if -[WebArchive subresources] is not nil, then it 9 contains at least one object. 10 11 * WebView/WebArchive.mm: 12 (-[WebArchive subresources]): Preserve the behavior of returning nil 13 if there are no subresources. 14 1 15 2009-03-20 Adele Peterson <adele@apple.com> 2 16 -
trunk/WebKit/mac/WebView/WebArchive.mm
r41870 r41903 321 321 } 322 322 } 323 324 return [[_private->cachedSubresources retain] autorelease]; 323 // Maintain the WebKit 3 behavior of this API, which is documented and 324 // relied upon by some clients, of returning nil if there are no subresources. 325 return [_private->cachedSubresources count] ? [[_private->cachedSubresources retain] autorelease] : nil; 325 326 } 326 327
Note: See TracChangeset
for help on using the changeset viewer.