Changeset 228707 in webkit
- Timestamp:
- Feb 19, 2018 12:56:41 PM (6 years ago)
- Location:
- branches/safari-605-branch/Source/WebKitLegacy/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-605-branch/Source/WebKitLegacy/mac/ChangeLog
r228083 r228707 1 2018-02-19 Jason Marcell <jmarcell@apple.com> 2 3 Cherry-pick r228580. rdar://problem/37675341 4 5 2018-02-16 Brent Fulgham <bfulgham@apple.com> 6 7 [Cocoa][WebKitLegacy] REGRESSION(r221559): Coda 2 crashes when switching views 8 https://bugs.webkit.org/show_bug.cgi?id=182882 9 <rdar://problem/35672661> 10 11 Reviewed by Dan Bernstein. 12 13 Make sure the smart pointer hold the collection of subviews lives at least as 14 long as the loop using it. 15 16 * WebView/WebHTMLView.mm: 17 (-[WebHTMLView _web_makePluginSubviewsPerformSelector:withObject:]): 18 1 19 2018-02-04 Jason Marcell <jmarcell@apple.com> 2 20 -
branches/safari-605-branch/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
r226452 r228707 1 1 /* 2 * Copyright (C) 2005-201 7Apple Inc. All rights reserved.2 * Copyright (C) 2005-2018 Apple Inc. All rights reserved. 3 3 * (C) 2006, 2007 Graham Dennis (graham.dennis@gmail.com) 4 4 * … … 1428 1428 // Copy subviews because [self subviews] returns the view's mutable internal array, 1429 1429 // and we must avoid mutating the array while enumerating it. 1430 for (NSView *view in adoptNS([[self subviews] copy]).get()) { 1430 auto subviewsCopy = adoptNS([self.subviews copy]); 1431 for (NSView *view in subviewsCopy.get()) { 1431 1432 if ([view isKindOfClass:[WebBaseNetscapePluginView class]]) 1432 1433 [view performSelector:selector withObject:object];
Note: See TracChangeset
for help on using the changeset viewer.