Changeset 247786 in webkit
- Timestamp:
- Jul 24, 2019 1:18:50 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r247784 r247786 1 2019-07-24 Alex Christensen <achristensen@webkit.org> 2 3 Null check CompletionHandler in WebPreviewLoaderClient::didReceivePassword 4 https://bugs.webkit.org/show_bug.cgi?id=200080 5 <rdar://problem/37275772> 6 7 Reviewed by Chris Dumez. 8 9 * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.cpp: 10 (WebKit::WebPreviewLoaderClient::didReceivePassword): 11 1 12 2019-07-24 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/Source/WebKit/WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.cpp
r245796 r247786 29 29 #if USE(QUICK_LOOK) 30 30 31 #include "Logging.h" 31 32 #include "WebPageProxyMessages.h" 32 33 #include "WebProcess.h" … … 89 90 { 90 91 ASSERT(passwordCallbacks().contains(pageID)); 91 auto completionHandler = passwordCallbacks().take(pageID); 92 completionHandler(password); 92 if (auto completionHandler = passwordCallbacks().take(pageID)) 93 completionHandler(password); 94 else 95 RELEASE_LOG_ERROR(Loading, "Discarding a password for a page that did not request one in this process"); 93 96 } 94 97
Note: See TracChangeset
for help on using the changeset viewer.