[webkit-changes] [WebKit/WebKit] 02bc26: [JPEGXL] Migrate JXLDecoderPtr to be a std::unique...

Myles C. Maxfield noreply at github.com
Mon Jun 19 16:13:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02bc26dd0ddb42f260ce4aec447d4fe8278ebfb3
      https://github.com/WebKit/WebKit/commit/02bc26dd0ddb42f260ce4aec447d4fe8278ebfb3
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/image-decoders/jpegxl/JxlDecoderPtr.h

  Log Message:
  -----------
  [JPEGXL] Migrate JXLDecoderPtr to be a std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=258283
rdar://111008382

Reviewed by Cameron McCormack.

There's no need to duplicate the functionality of std::unique_ptr.

* Source/WebCore/platform/image-decoders/jpegxl/JxlDecoderPtr.h:
(JXLDecoderDeleter::operator()):
(JxlDecoderMake):
(JxlDecoderPtr::JxlDecoderPtr): Deleted.
(JxlDecoderPtr::operator=): Deleted.
(JxlDecoderPtr::~JxlDecoderPtr): Deleted.
(JxlDecoderPtr::reset): Deleted.
(JxlDecoderPtr::operator bool const): Deleted.
(JxlDecoderPtr::get const): Deleted.
(): Deleted.

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




More information about the webkit-changes mailing list