Changeset 202884 in webkit
- Timestamp:
- Jul 6, 2016 4:37:58 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r202882 r202884 1 2016-07-06 Chelsea Pugh <cpugh@apple.com> 2 3 [iOS] Text suggestions should be cleared when form input session is invalidated 4 https://bugs.webkit.org/show_bug.cgi?id=159477 5 6 Reviewed by Dan Bernstein. 7 8 * UIProcess/ios/WKContentViewInteraction.mm: 9 (-[WKFormInputSession invalidate]): Set input delegate's suggestions to nil when a form input session is 10 invalidated. This will set the keyboard QuickType suggestions back to their default values. 11 1 12 2016-07-06 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm
r202868 r202884 369 369 - (void)invalidate 370 370 { 371 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000 372 id <UITextInputSuggestionDelegate> suggestionDelegate = (id <UITextInputSuggestionDelegate>)_contentView.inputDelegate; 373 [suggestionDelegate setSuggestions:nil]; 374 #endif 371 375 _contentView = nil; 372 376 }
Note: See TracChangeset
for help on using the changeset viewer.