[webkit-changes] [WebKit/WebKit] 468a3a: Remove usage of deprecated OSAtomic methods
Rose Silicon
noreply at github.com
Mon Aug 19 19:37:40 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 468a3a547bd29641a2a57ce21756e5f030884cda
https://github.com/WebKit/WebKit/commit/468a3a547bd29641a2a57ce21756e5f030884cda
Author: Rose <gfunni234 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M Source/WebCore/platform/ios/wak/WebCoreThread.mm
M Source/WebKitLegacy/mac/WebView/WebView.mm
M Source/WebKitLegacy/mac/WebView/WebViewData.h
Log Message:
-----------
Remove usage of deprecated OSAtomic methods
https://bugs.webkit.org/show_bug.cgi?id=251865
Reviewed by Michael Catanzaro.
We should be using WTF::Atomics instead.
* Source/WebCore/platform/ios/wak/WebCoreThread.mm: Remove
libkern/OSAtomics import.
* Source/WebKitLegacy/mac/WebView/WebView.mm: Make didDrawTiles a proper
BOOL and replace OSAtomicCompareAndSwap32 with
WTF::atomicCompareExchangeStrong.
* Source/WebKitLegacy/mac/WebView/WebViewData.h: Make didDrawTiles a
proper BOOL.
Canonical link: https://commits.webkit.org/282479@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list