[webkit-changes] [WebKit/WebKit] 84f0f7: Clean up most of remaining EnumTraits specializati...

Žan Doberšek noreply at github.com
Tue Jan 9 22:12:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84f0f7a833047fe9256aeaa8408bf7c26ba1de7f
      https://github.com/WebKit/WebKit/commit/84f0f7a833047fe9256aeaa8408bf7c26ba1de7f
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M Source/WebCore/html/track/AudioTrack.cpp
    M Source/WebCore/html/track/VideoTrack.cpp
    M Source/WebCore/platform/graphics/AudioTrackPrivate.h
    M Source/WebCore/platform/graphics/GraphicsContextGL.h
    M Source/WebCore/platform/graphics/GraphicsContextState.h
    M Source/WebCore/platform/graphics/GraphicsLayer.h
    M Source/WebCore/platform/graphics/GraphicsTypesGL.h
    M Source/WebCore/platform/graphics/Image.h
    M Source/WebCore/platform/graphics/SystemImage.h
    M Source/WebCore/platform/graphics/VideoTrackPrivate.h
    M Source/WebCore/platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
    M Source/WebCore/platform/graphics/avfoundation/AudioTrackPrivateAVF.h
    M Source/WebCore/platform/graphics/avfoundation/VideoTrackPrivateAVF.h
    M Source/WebCore/platform/graphics/transforms/TransformOperation.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/WebProcess/GPU/media/AudioTrackPrivateRemote.h
    M Source/WebKit/WebProcess/GPU/media/VideoTrackPrivateRemote.h

  Log Message:
  -----------
  Clean up most of remaining EnumTraits specializations under WebCore/platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=266625

Reviewed by Chris Dumez.

Run through most of EnumTraits specializations under WebCore/platform/graphics,
removing if unused or replacing them with corresponding serialization specifications
in WebKit's WebCoreArgumentCoders serialization input file.

* Source/WebCore/html/track/AudioTrack.cpp:
(WebCore::AudioTrack::updateKindFromPrivate):
* Source/WebCore/html/track/VideoTrack.cpp:
(WebCore::VideoTrack::updateKindFromPrivate):
* Source/WebCore/platform/graphics/AudioTrackPrivate.h:
(WebCore::AudioTrackPrivate::kind const):
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
* Source/WebCore/platform/graphics/GraphicsContextState.h:
* Source/WebCore/platform/graphics/GraphicsLayer.h:
* Source/WebCore/platform/graphics/GraphicsTypesGL.h:
* Source/WebCore/platform/graphics/Image.h:
* Source/WebCore/platform/graphics/SystemImage.h:
* Source/WebCore/platform/graphics/VideoTrackPrivate.h:
(WebCore::VideoTrackPrivate::kind const):
* Source/WebCore/platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
(WebCore::AVTrackPrivateAVFObjCImpl::audioKind const):
(WebCore::AVTrackPrivateAVFObjCImpl::videoKind const):
* Source/WebCore/platform/graphics/avfoundation/AudioTrackPrivateAVF.h:
* Source/WebCore/platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
* Source/WebCore/platform/graphics/transforms/TransformOperation.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/WebProcess/GPU/media/AudioTrackPrivateRemote.h:
* Source/WebKit/WebProcess/GPU/media/VideoTrackPrivateRemote.h:

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




More information about the webkit-changes mailing list