Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cocoa] Delete dead code after cleaning up HAVE() and USE() macros #15225

Commits on Jun 23, 2023

  1. [Cocoa] Delete dead code after cleaning up HAVE() and USE() macros

    https://bugs.webkit.org/show_bug.cgi?id=258436
    rdar://111198556
    
    Reviewed by Tim Horton and Alexey Proskuryakov.
    
    Now that we've removed a bunch of configurations, there is a bunch of
    leftover dead code we can remove.
    
    * Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
    * Source/JavaScriptCore/runtime/SymbolStubsForSafariCompatibility.mm: Removed.
    * Source/WTF/wtf/PlatformHave.h:
    * Source/WTF/wtf/PlatformUse.h:
    * Source/WTF/wtf/text/WTFString.h:
    * Source/WTF/wtf/text/cocoa/StringCocoa.mm:
    (WTF::String::String): Deleted.
    * Source/WebCore/PAL/pal/cf/CoreTextSoftLink.cpp:
    * Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h:
    * Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h:
    * Source/WebCore/PAL/pal/spi/mac/HIToolboxSPI.h:
    * Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h:
    * Source/WebCore/PAL/pal/spi/mac/QuickLookMacSPI.h:
    * Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp:
    (WebCore::SystemFontDatabaseCoreText::createTextStyleFont):
    (WebCore::mapWidth):
    * Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp:
    (WebCore::NetworkStorageSession::createCFStorageSessionForIdentifier):
    * Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
    (WebCore::createPrivateStorageSession):
    * Source/WebKit/GPUProcess/mac/GPUProcessMac.mm:
    (WebKit::GPUProcess::initializeSandbox):
    * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
    (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
    * Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm:
    (WebKit::NetworkRTCUDPSocketCocoaConnections::createNWConnection):
    * Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.mm:
    (WebKit::setNWParametersApplicationIdentifiers):
    (WebKit::setNWParametersTrackerOptions):
    (WebKit::isKnownTracker):
    * Source/WebKit/Platform/spi/Cocoa/AccessibilitySupportSPI.h:
    * Source/WebKit/Platform/spi/Cocoa/NWSPI.h:
    * Source/WebKit/Platform/spi/mac/ApplicationServicesSPI.h:
    * Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm:
    * Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
    (WebKit::WebProcess::initializeSandbox):
    * Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:
    
    Canonical link: https://commits.webkit.org/265448@main
    litherum committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    6a90e53 View commit details
    Browse the repository at this point in the history