Changeset 171129 in webkit
- Timestamp:
- Jul 15, 2014 6:29:18 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r171124 r171129 1 2014-07-15 Dan Bernstein <mitz@apple.com> 2 3 WKWebView’s FormClient::willSubmitForm should use CompletionHandlerCallChecker 4 https://bugs.webkit.org/show_bug.cgi?id=134951 5 6 Reviewed by Tim Horton. 7 8 * UIProcess/API/Cocoa/WKWebView.mm: 9 (-[WKWebView _setFormDelegate:]): 10 1 11 2014-07-15 Benjamin Poulain <benjamin@webkit.org> 2 12 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r171124 r171129 30 30 31 31 #import "APIFormClient.h" 32 #import "CompletionHandlerCallChecker.h" 32 33 #import "FindClient.h" 33 34 #import "LegacySessionStateCoding.h" … … 1977 1978 } 1978 1979 1979 [formDelegate _webView:m_webView willSubmitFormValues:valueMap.get() userObject:userObject submissionHandler:^{ 1980 RefPtr<WebKit::CompletionHandlerCallChecker> checker = WebKit::CompletionHandlerCallChecker::create(formDelegate.get(), @selector(_webView:willSubmitFormValues:userObject:submissionHandler:)); 1981 [formDelegate _webView:m_webView willSubmitFormValues:valueMap.get() userObject:userObject submissionHandler:[listener, checker] { 1982 checker->didCallCompletionHandler(); 1980 1983 listener->continueSubmission(); 1981 1984 }];
Note: See TracChangeset
for help on using the changeset viewer.