[webkit-changes] [WebKit/WebKit] ae4bac: Remove UnsafePointer

Gerald Squelart noreply at github.com
Mon Nov 14 01:14:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae4bacca046e268d29fc73b5d271348058553f59
      https://github.com/WebKit/WebKit/commit/ae4bacca046e268d29fc73b5d271348058553f59
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/CMakeLists.txt
    R Source/WTF/wtf/UnsafePointer.h
    M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h

  Log Message:
  -----------
  Remove UnsafePointer
https://bugs.webkit.org/show_bug.cgi?id=235435
<rdar://88183155>

Reviewed by Kimmo Kinnunen.

The possible use-cases for UnsafePointer would be so cumbersomely complex that it would be difficult to use it correctly, compared to just the standard [u]intptr_t.
So it's best to avoid confusion and remove it.

* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/UnsafePointer.h: Removed.
* Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h:

Canonical link: https://commits.webkit.org/256641@main




More information about the webkit-changes mailing list