[webkit-changes] [WebKit/WebKit] 8d63cb: Stop using namespace std

Alex Christensen noreply at github.com
Fri Sep 13 16:29:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d63cb9b8808f4617a9d0812704c59bb268a2f03
      https://github.com/WebKit/WebKit/commit/8d63cb9b8808f4617a9d0812704c59bb268a2f03
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M Source/ThirdParty/ANGLE/src/common/tls.cpp
    M Source/WTF/icu/unicode/numfmt.h
    M Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp
    M Source/WebKitLegacy/ios/WebCoreSupport/WebFixedPositionContent.mm
    M Source/WebKitLegacy/ios/WebView/WebPDFViewIOS.mm
    M Tools/DumpRenderTree/cg/PixelDumpSupportCG.cpp
    M Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm
    M Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/Geolocation.cpp
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
    M Tools/WebKitTestRunner/TestInvocation.cpp

  Log Message:
  -----------
  Stop using namespace std
https://bugs.webkit.org/show_bug.cgi?id=279685
rdar://135967673

Reviewed by Matthew Finkel.

It causes compile issues with things in other namespaces that have the same names
as things in namespace std, such as our span functions.

* Source/ThirdParty/ANGLE/src/common/tls.cpp:
* Source/WTF/icu/unicode/numfmt.h:
* Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp:
* Source/WebKitLegacy/ios/WebCoreSupport/WebFixedPositionContent.mm:
* Source/WebKitLegacy/ios/WebView/WebPDFViewIOS.mm:
(-[WebPDFView _computePageRects]):
* Tools/DumpRenderTree/cg/PixelDumpSupportCG.cpp:
* Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
* Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp:
(TestWebKitAPI::TEST(WTF, MediaTime)):
* Tools/TestWebKitAPI/Tests/WebKit/Geolocation.cpp:
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
* Tools/WebKitTestRunner/TestInvocation.cpp:

Canonical link: https://commits.webkit.org/283659@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