[webkit-changes] [WebKit/WebKit] 584c5f: Reduce use of LegacyNullableObjectIdentifier

Chris Dumez noreply at github.com
Sun Aug 18 21:37:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 584c5f30a3a23301b7464d7c77a03853460b4b92
      https://github.com/WebKit/WebKit/commit/584c5f30a3a23301b7464d7c77a03853460b4b92
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-08-18 (Sun, 18 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/HashMap.h
    M Source/WebCore/html/track/InbandGenericTextTrack.cpp
    M Source/WebCore/page/cocoa/ImageOverlayDataDetectionResultIdentifier.h
    M Source/WebCore/page/mac/ImageOverlayControllerMac.mm
    M Source/WebCore/platform/graphics/ImageDecoderIdentifier.h
    M Source/WebCore/platform/graphics/InbandGenericCue.cpp
    M Source/WebCore/platform/graphics/InbandGenericCue.h
    M Source/WebCore/platform/graphics/InbandGenericCueIdentifier.h
    M Source/WebCore/workers/service/background-fetch/BackgroundFetchRecordIdentifier.h
    M Source/WebKit/Shared/WTFArgumentCoders.serialization.in
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/Shared/WebURLSchemeHandlerIdentifier.h
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  Reduce use of LegacyNullableObjectIdentifier
https://bugs.webkit.org/show_bug.cgi?id=278298

Reviewed by Per Arne Vollan.

Reduce use of LegacyNullableObjectIdentifier, and use ObjectIdentifier instead.

* Source/WTF/wtf/HashMap.h:
(WTF::Y>::takeOptional):
* Source/WebCore/html/track/InbandGenericTextTrack.cpp:
(WebCore::GenericTextTrackCueMap::remove):
* Source/WebCore/page/cocoa/ImageOverlayDataDetectionResultIdentifier.h:
* Source/WebCore/page/mac/ImageOverlayControllerMac.mm:
(WebCore::ImageOverlayController::handleDataDetectorAction):
* Source/WebCore/platform/graphics/ImageDecoderIdentifier.h:
* Source/WebCore/platform/graphics/InbandGenericCue.cpp:
(WebCore::InbandGenericCue::toJSONString const):
* Source/WebCore/platform/graphics/InbandGenericCue.h:
(WebCore::GenericCueData::GenericCueData):
(WebCore::InbandGenericCue::uniqueId const):
* Source/WebCore/platform/graphics/InbandGenericCueIdentifier.h:
* Source/WebCore/workers/service/background-fetch/BackgroundFetchRecordIdentifier.h:
* Source/WebKit/Shared/WTFArgumentCoders.serialization.in:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/Shared/WebURLSchemeHandlerIdentifier.h:
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::dataDetectorImageOverlayPositionInformation):

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