[webkit-changes] [WebKit/WebKit] d1390b: ImageBitmap and ImageBitmapBacking have unused fun...

Kimmo Kinnunen noreply at github.com
Thu Dec 21 06:19:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1390b5d012f1d3c1fbfc886e883773e6bdfc240
      https://github.com/WebKit/WebKit/commit/d1390b5d012f1d3c1fbfc886e883773e6bdfc240
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M Source/WebCore/bindings/js/SerializedScriptValue.cpp
    M Source/WebCore/html/ImageBitmap.cpp
    M Source/WebCore/html/ImageBitmap.h
    M Source/WebCore/html/ImageBitmapBacking.cpp
    M Source/WebCore/html/ImageBitmapBacking.h

  Log Message:
  -----------
  ImageBitmap and ImageBitmapBacking have unused functions
https://bugs.webkit.org/show_bug.cgi?id=266760
rdar://119983961

Reviewed by Antti Koivisto.

Remove the unused takeImageBufferForDifferentThread.

Make ImageBitmaps::detachBitmaps() to detach(),
similar to other detach() functions.

* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::create):
* Source/WebCore/html/ImageBitmap.cpp:
(WebCore::ImageBitmap::detach):
(WebCore::ImageBitmap::detachBitmaps): Deleted.
* Source/WebCore/html/ImageBitmap.h:
* Source/WebCore/html/ImageBitmapBacking.cpp:
(WebCore::ImageBitmapBacking::takeImageBufferForDifferentThread): Deleted.
* Source/WebCore/html/ImageBitmapBacking.h:

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




More information about the webkit-changes mailing list