Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 99c97361f04cd5a5681e6ecb61518b5ecfa03d16 https://github.com/WebKit/WebKit/commit/99c97361f04cd5a5681e6ecb61518b5ecfa03d16 Author: Žan Doberšek <z...@falconsigh.net> Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths: M Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp M Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp M Source/WebKit/WebProcess/WebCoreSupport/WebSpeechSynthesisClient.cpp M Source/WebKit/WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp M Source/WebKit/WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm Log Message: ----------- [WK2] Remove uses of SendSyncLegacyResult-based Connection::sendSync() under WebProcess/WebCoreSupport/ https://bugs.webkit.org/show_bug.cgi?id=245635 Reviewed by Kimmo Kinnunen. Replace uses of SendSyncLegacyResult-returning Connection::sendSync() method with the non-legacy variant, adjusting retrieval of reply values in each case. This patch does so for uses under the WebProcess/WebCoreSupport/ directory. * Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: (WebKit::WebPlatformStrategies::getTypes): (WebKit::WebPlatformStrategies::bufferForType): (WebKit::WebPlatformStrategies::getPathnamesForType): (WebKit::WebPlatformStrategies::stringForType): (WebKit::WebPlatformStrategies::allStringsForType): (WebKit::WebPlatformStrategies::changeCount): (WebKit::WebPlatformStrategies::color): (WebKit::WebPlatformStrategies::url): (WebKit::WebPlatformStrategies::addTypes): (WebKit::WebPlatformStrategies::setTypes): (WebKit::WebPlatformStrategies::setBufferForType): (WebKit::WebPlatformStrategies::setURL): (WebKit::WebPlatformStrategies::setColor): (WebKit::WebPlatformStrategies::setStringForType): (WebKit::WebPlatformStrategies::getNumberOfFiles): (WebKit::WebPlatformStrategies::containsURLStringSuitableForLoading): (WebKit::WebPlatformStrategies::urlStringSuitableForLoading): (WebKit::WebPlatformStrategies::types): (WebKit::WebPlatformStrategies::readTextFromClipboard): (WebKit::WebPlatformStrategies::readFilePathsFromClipboard): (WebKit::WebPlatformStrategies::readBufferFromClipboard): (WebKit::WebPlatformStrategies::typesSafeForDOMToReadAndWrite): (WebKit::WebPlatformStrategies::writeCustomData): (WebKit::WebPlatformStrategies::containsStringSafeForDOMToReadForType): (WebKit::WebPlatformStrategies::getPasteboardItemsCount): (WebKit::WebPlatformStrategies::allPasteboardItemInfo): (WebKit::WebPlatformStrategies::informationForItemAtIndex): (WebKit::WebPlatformStrategies::readBufferFromPasteboard): (WebKit::WebPlatformStrategies::readURLFromPasteboard): (WebKit::WebPlatformStrategies::readStringFromPasteboard): * Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp: (WebKit::WebSearchPopupMenu::loadRecentSearches): * Source/WebKit/WebProcess/WebCoreSupport/WebSpeechSynthesisClient.cpp: (WebKit::WebSpeechSynthesisClient::voiceList): * Source/WebKit/WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp: (WebKit::WebAlternativeTextClient::dismissAlternativeSoon): (WebKit::WebAlternativeTextClient::dictationAlternatives): * Source/WebKit/WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: (WebKit::WebEditorClient::substitutionsPanelIsShowing): Canonical link: https://commits.webkit.org/254853@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes