Changeset 23553 in webkit
- Timestamp:
- Jun 15, 2007, 3:07:55 PM (18 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/ChangeLog
r23552 r23553 1 2007-06-15 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Kevin. 4 5 A better fix for <rdar://problem/5271774>. Only try to access the element if the 6 view has an associated window. This also works with GC. (Fix suggested by Kevin.) 7 8 * Plugins/WebKitPluginContainerView.mm: 9 (-[WebKitPluginContainerView dealloc]): 10 (-[WebKitPluginContainerView visibleRect]): 11 1 12 2007-06-15 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/WebKit/Plugins/WebKitPluginContainerView.mm
r23552 r23553 46 46 [_element release]; 47 47 48 // Calling [super dealloc] can end up calling visibleRect so we need to set49 // the _element instance to 0 here so we can check for it in our visibleRect.50 _element = 0;51 52 48 [super dealloc]; 53 49 } … … 55 51 - (NSRect)visibleRect 56 52 { 57 if (! _element)53 if (![self window]) 58 54 return [super visibleRect]; 59 55
Note:
See TracChangeset
for help on using the changeset viewer.