Changeset 176969 in webkit
- Timestamp:
- Dec 8, 2014, 1:53:54 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r176964 r176969 1 2014-12-08 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/18046692> [iOS] Safari crashes at -[_NSUndoStack popAndInvoke] when trying to undo typing on closed tab 4 https://bugs.webkit.org/show_bug.cgi?id=139408 5 6 Reviewed by Anders Carlsson. 7 8 * UIProcess/ios/WKContentView.mm: 9 (-[WKContentView undoManager]): Override to initialize if necessary and return a unique undo 10 manager for this instance. This ensures that undoable operations for this webview don’t get 11 put in other undo managers, and matches UIWebView behavior. 12 1 13 2014-12-08 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm
r176204 r176969 179 179 180 180 HistoricalVelocityData _historicalKinematicData; 181 182 RetainPtr<NSUndoManager> _undoManager; 181 183 } 182 184 … … 376 378 } 377 379 380 - (NSUndoManager *)undoManager 381 { 382 if (!_undoManager) 383 _undoManager = adoptNS([[NSUndoManager alloc] init]); 384 385 return _undoManager.get(); 386 } 387 378 388 #pragma mark Internal 379 389
Note:
See TracChangeset
for help on using the changeset viewer.